libopencad
|
Public Types | |
enum | DataType { INVALID = 0, DECIMAL, REAL, STRING, DATETIME, COORDINATES, HANDLE } |
Public Member Functions | |
CADVariant (const char *val) | |
CADVariant (int val) | |
CADVariant (short val) | |
CADVariant (double val) | |
CADVariant (double x, double y, double z=0) | |
CADVariant (const CADHandle &val) | |
CADVariant (const std::string &val) | |
CADVariant (time_t val) | |
CADVariant (const CADVariant &orig) | |
CADVariant & | operator= (const CADVariant &orig) |
long | getDecimal () const |
double | getReal () const |
const std::string & | getString () const |
enum DataType | getType () const |
double | getX () const |
double | getY () const |
double | getZ () const |
const CADHandle & | getHandle () const |
Protected Attributes | |
enum DataType | type |
long | decimalVal |
double | xVal |
double | yVal |
double | zVal |
std::string | stringVal |
CADHandle | handleVal |
time_t | dateTimeVal |