SpreadsheetCell.h
Upload User: gtl068a
Upload Date: 2007-01-25
Package Size: 233k
Code Size: 0k
Development Platform:

Visual C++

  1. #include <string>
  2. using std::string;
  3. class SpreadsheetCell
  4. {
  5.  public:
  6.   SpreadsheetCell(double initialValue);
  7.   SpreadsheetCell(string initialValue);
  8.   void setValue(double inValue);
  9.   double getValue();
  10.   void setString(string inString);
  11.   string getString();
  12.  protected:
  13.   string doubleToString(double inValue);
  14.   double stringToDouble(string inString);
  15.   double mValue;
  16.   string mString;
  17. };