Alter Makefile to force 32-bit compile
[capablanca.git] / lasker-2.2.3 / bots / mamer / Storage.cc
1 //--------------------------------------------------------------------------
2 // Storage.cc - Source file for the Storage class
3 //
4 // Matthew E. Moses && Michael A. Long
5 //
6 // $Revision: 1.1 $
7 // $Date: 1998/09/10 19:57:17 $
8 //
9 // $Author: mlong $
10 // $Locker:  $
11 //
12 // $Log: Storage.cc,v $
13 // Revision 1.1  1998/09/10 19:57:17  mlong
14 // Initial revision
15 //
16 //
17 //--------------------------------------------------------------------------
18
19 // static char RCSid[] = "$Id: Storage.cc,v 1.1 1998/09/10 19:57:17 mlong Exp $";
20
21 #include "Storage.hh"
22
23 //- Constructor -----------------------------------------------------------
24 Storage::Storage(char *n, int wt) {
25   strcpy(name, n);
26   value = wt;
27 }
28
29 //- Constructor -----------------------------------------------------------
30 Storage::Storage(char *n, float wt) {
31   strcpy(name, n);
32   floatValue = wt;
33 }
34
35 //- Constructor -----------------------------------------------------------
36 Storage::Storage(char *n, double wt) {
37   strcpy(name, n);
38   floatValue = wt;
39 }
40
41 //- Constructor -----------------------------------------------------------
42 Storage::Storage(char *n, float f, int i) {
43   strcpy(name, n);
44   floatValue = f;
45   value = i;
46 }
47
48 //- Constructor -----------------------------------------------------------
49 Storage::Storage(char *n, float f, int i, int r) {
50   strcpy(name, n);
51   floatValue = f;
52   value = i;
53   rating = r;
54 }
55
56 //- DeConstructor ---------------------------------------------------------
57 Storage::~Storage() {
58 }