CFx SDK Documentation
2022 SP0
|
#include <TfVariant.h>
Public Types | |
enum | Type { kGUID = OdVariant::kNextType , kEmpty , kDEPRECARED0 , kDbStubPtr , kRxObjectWeakPtr , kTuple , kNextType } |
Public Types inherited from OdVariant | |
enum | Type { kVoid = 0x0000 , kString = 0x0001 , kBool = 0x0002 , kInt8 = 0x0003 , kUInt8 = 0x0003 , kInt16 = 0x0004 , kUInt16 = 0x0004 , kInt32 = 0x0005 , kUInt32 = 0x0005 , kInt64 = 0x0006 , kUInt64 = 0x0006 , kDouble = 0x0007 , kWString = 0x0008 , kAnsiString = 0x0008 , kRxObjectPtr = 0x0009 , kNextType = 0x000A , kByRef = 0x0040 , kArray = 0x0080 } |
Static Public Member Functions | |
static const OdVariant::TypeFactory * | typeFactory (int type) |
static Type | kVariantArray (OdUInt16, OdUInt32) |
static Type | kVariantArray (OdUInt16, OdTfVariant::Type) |
static Type | kVariantArray (OdUInt32) |
static Type | kVariantArray (OdTfVariant::Type) |
static Type | getItemType (OdTfVariant::Type type) |
static OdUInt16 | getDimsCount (OdTfVariant::Type type) |
static OdTfVariant | empty () |
Static Public Member Functions inherited from OdVariant | |
static const TypeFactory * | typeFactory (int type) |
Protected Member Functions | |
void | setVarType (int newType, int &type, void *data) |
void | makeEmpty () |
Protected Member Functions inherited from OdVariant | |
void * | data () const |
Additional Inherited Members | |
Protected Attributes inherited from OdVariant | |
int | m_type |
union { | |
OdUInt8 uint8 [nOdVariantDataSize] | |
double dbl | |
void * ptr | |
} | m_uData |
Corresponding C++ library: Od_Tf <group OdTf_Classes>
Definition at line 41 of file TfVariant.h.
enum OdTfVariant::Type |
Enumerator | |
---|---|
kGUID | |
kEmpty | |
kDEPRECARED0 | |
kDbStubPtr | |
kRxObjectWeakPtr | |
kTuple | |
kNextType |
Definition at line 44 of file TfVariant.h.
OdTfVariant::OdTfVariant | ( | ) |
OdTfVariant::OdTfVariant | ( | const OdVariant & | val | ) |
OdTfVariant::OdTfVariant | ( | const OdTfVariant & | val | ) |
OdTfVariant::OdTfVariant | ( | const OdGUID & | val | ) |
OdTfVariant::OdTfVariant | ( | const OdTfVariantTuple & | ) |
OdTfVariant::OdTfVariant | ( | OdTfVariant::Type | type, |
const OdTfVariantArray & | val | ||
) |
OdTfVariant::OdTfVariant | ( | OdDbStub * const | ) |
|
virtual |
OdTfVariantArray& OdTfVariant::asVariantArray | ( | ) |
OdTfVariantTuple& OdTfVariant::asVariantTuple | ( | ) |
|
static |
OdDbStub* OdTfVariant::getDbStubPtr | ( | ) | const |
|
static |
const OdGUID& OdTfVariant::getGUID | ( | ) | const |
|
static |
OdRxObject* OdTfVariant::getRxObjectWeakPtr | ( | ) | const |
const OdTfVariantArray& OdTfVariant::getVariantArray | ( | ) | const |
const OdTfVariantTuple& OdTfVariant::getVariantTuple | ( | ) | const |
bool OdTfVariant::isEmpty | ( | ) | const |
bool OdTfVariant::isVariantArray | ( | ) | const |
|
static |
|
static |
|
protected |
OdTfVariant& OdTfVariant::operator= | ( | const OdTfVariant & | val | ) |
OdTfVariant& OdTfVariant::setDbStubPtr | ( | OdDbStub * const | ) |
OdTfVariant& OdTfVariant::setGUID | ( | const OdGUID & | ) |
OdTfVariant& OdTfVariant::setRxObjectWeakPtr | ( | OdRxObject * const | ) |
OdTfVariant& OdTfVariant::setVariantArray | ( | OdTfVariant::Type | type, |
const OdTfVariantArray & | |||
) |
OdTfVariant& OdTfVariant::setVariantTuple | ( | const OdTfVariantTuple & | ) |
Reimplemented from OdVariant.
|
static |