48 Datum (
const Datum & other ) : sDatum( other.sDatum ) { }
87 int GetInt() {
return (
int)(*this); }
90 operator unsigned long ( );
99 operator std::string ( );
102 operator const char * ( );
const char * GetCharString()
explicit accessor for const char *
Datum()
Default constructor.
int GetInt()
explicit accessor for int
std::string sDatum
holds the data in string form
bool operator==(const char *ipsString)
equality operator for const char * string
Datum & operator=(const Datum &other)
Assignment operator.
bool operator!=(int)
inequality operator to test against int
Datum(const Datum &other)
Copy constructor.
class that makes it easy to go between numbers and strings