Its internal storage type is defined by the type passed into the constructor or modify() functions.
Public Member Functions | |
PolyType (int i=0) | |
PolyType (long l) | |
PolyType (unsigned long ul) | |
PolyType (double d) | |
PolyType (const char *str) | |
PolyType (const std::string &str) | |
PolyType (const PolyType &) | |
virtual | ~PolyType () |
void | modify (int i) |
void | modify (long l) |
void | modify (unsigned long ul) |
void | modify (double d) |
void | modify (const char *str) |
void | modify (const std::string str) |
void | modify (const PolyType &p) |
bool | isNumeric () const |
int | getInt () const |
long | getLong () const |
unsigned long | getULong () const |
double | getDouble () const |
std::string | getString () const |
PolyType & | operator= (const PolyType &) |
code::PolyType::PolyType | ( | int | i = 0 |
) |
code::PolyType::PolyType | ( | long | l | ) |
code::PolyType::PolyType | ( | unsigned long | ul | ) |
code::PolyType::PolyType | ( | double | d | ) |
code::PolyType::PolyType | ( | const char * | str | ) |
code::PolyType::PolyType | ( | const std::string & | str | ) |
code::PolyType::PolyType | ( | const PolyType & | ) |
virtual code::PolyType::~PolyType | ( | ) | [inline, virtual] |
double code::PolyType::getDouble | ( | ) | const |
int code::PolyType::getInt | ( | ) | const |
long code::PolyType::getLong | ( | ) | const |
std::string code::PolyType::getString | ( | ) | const |
unsigned long code::PolyType::getULong | ( | ) | const |
bool code::PolyType::isNumeric | ( | ) | const [inline] |
void code::PolyType::modify | ( | const PolyType & | p | ) | [inline] |
void code::PolyType::modify | ( | const std::string | str | ) |
void code::PolyType::modify | ( | const char * | str | ) |
void code::PolyType::modify | ( | double | d | ) |
void code::PolyType::modify | ( | unsigned long | ul | ) |
void code::PolyType::modify | ( | long | l | ) |
void code::PolyType::modify | ( | int | i | ) |