6 * Revision 1.3 1995/12/29 08:17:58 tamches
7 * a cleanup commit: moved body of some member functions from tvCell.h to tvCell.C
9 * Revision 1.2 1995/12/22 22:38:30 tamches
10 * operator<, operator>, operator== are new; chose a rule that an invalid
11 * cell is less than any valid cell, and all invalid cells are equal.
13 * Revision 1.1 1995/11/04 00:47:21 tamches
14 * First version of new table visi
29 tvCell() {invalidate();}
30 tvCell(double iData) {setValidData(iData);}
31 tvCell(const tvCell &src) {
32 if (validData = src.validData) // yes, single = on purpose
37 bool operator<(const tvCell &src) const;
38 bool operator==(const tvCell &src) const;
39 bool operator>(const tvCell &src) const;
41 tvCell &operator=(const tvCell &src);
43 bool isValid() const {return validData;}
44 double getData() const {assert(validData); return data;}
46 void invalidate() {validData = false;}
47 void setValidData(double newData) {