CFx SDK Documentation 2024 SP0
|
#include <AECVariant.h>
Public Types | |
enum | Type { eUndefined = -2 , eEmpty = -1 , eInt32 = 3 , eReal = 5 , eString = 8 , eBool = 11 , eUInt32 = 19 , eVariantArray = 8204 } |
Protected Types | |
enum | RxVariantType { kRxVariant = OdVariant::kNextType , kNextType } |
Protected 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 Protected Member Functions | |
static const OdVariant::TypeFactory * | typeFactory (int type) |
Static Protected Member Functions inherited from OdVariant | |
static const TypeFactory * | typeFactory (int type) |
Additional Inherited Members | |
Protected Attributes inherited from OdVariant | |
int | m_type |
union { | |
OdUInt8 uint8 [nOdVariantDataSize] | |
double dbl | |
void * ptr | |
} | m_uData |
AEC variant
<group TA_API_Auxiliary_Classes>
Definition at line 43 of file AECVariant.h.
|
protected |
Enumerator | |
---|---|
kRxVariant | |
kNextType |
Definition at line 243 of file AECVariant.h.
enum AECVariant::Type |
Type of variant.
Enumerator | |
---|---|
eUndefined | |
eEmpty | |
eInt32 | |
eReal | |
eString | |
eBool | |
eUInt32 | |
eVariantArray |
Definition at line 165 of file AECVariant.h.
AECVariant::AECVariant | ( | ) |
Default constructor.
AECVariant::AECVariant | ( | const AECVariant & | vValue | ) |
Copy constructor.
AECVariant::AECVariant | ( | OdInt32 | iValue | ) |
Constructor. Sets variant to integer.
iValue | [in] Integer. |
Constructor. Sets variant to string.
strValue | [in] String. |
bProcessEscapeSequences | [in] Whether to process escape sequences. |
AECVariant::AECVariant | ( | bool | bValue | ) |
Constructor. Sets variant to bool.
bValue | [in] Boolean. |
AECVariant::AECVariant | ( | double | dValue | ) |
Constructor. Sets variant to double.
dValue | [in] Double. |
AECVariant::~AECVariant | ( | ) |
Destructor.
const AECVariantArray & AECVariant::GetArray | ( | ) | const |
Returns double AECVariantArray.
bool AECVariant::GetBool | ( | ) | const |
Returns boolean value.
double AECVariant::GetDouble | ( | ) | const |
Returns double value.
OdInt32 AECVariant::GetInt32 | ( | ) | const |
Returns UInt32 value.
const OdString & AECVariant::GetString | ( | ) | const |
Returns string value.
Type AECVariant::GetType | ( | ) | const |
Returns the type of variant.
AECVariant AECVariant::operator! | ( | ) |
! operator.
bool AECVariant::operator!= | ( | const AECVariant & | vtValue | ) | const |
!= operator.
AECVariant AECVariant::operator& | ( | const AECVariant & | vtValue | ) |
& operator.
AECVariant AECVariant::operator&& | ( | const AECVariant & | vtValue | ) |
&& operator.
AECVariant AECVariant::operator* | ( | const AECVariant & | vtValue | ) |
operator.
AECVariant AECVariant::operator+ | ( | const AECVariant & | vtValue | ) |
AECVariant & AECVariant::operator+= | ( | const AECVariant & | vtValue | ) |
+= operator.
AECVariant AECVariant::operator- | ( | const AECVariant & | vtValue | ) |
AECVariant AECVariant::operator/ | ( | const AECVariant & | vtValue | ) |
/ operator.
bool AECVariant::operator< | ( | const AECVariant & | vtValue | ) | const |
< operator.
AECVariant & AECVariant::operator= | ( | const AECVariant & | vtValue | ) |
= operator.
bool AECVariant::operator== | ( | const AECVariant & | vtValue | ) | const |
== operator.
bool AECVariant::operator> | ( | const AECVariant & | vtValue | ) | const |
operator.
AECVariant AECVariant::operator|| | ( | const AECVariant & | vtValue | ) |
|| operator.
void AECVariant::SetArray | ( | const AECVariantArray & | arr | ) |
Sets variant to array value.
void AECVariant::SetBool | ( | bool | bValue | ) |
Sets variant to boolean value.
void AECVariant::SetDouble | ( | double | dValue | ) |
Sets variant to double value.
void AECVariant::SetEmpty | ( | ) |
Forces variant to be of empty type.
void AECVariant::SetUndefined | ( | ) |
Forces variant to be of undefined type.
Reimplemented from OdVariant.
|
staticprotected |