API Reference > Auxiliary Classes > AECCVariant Class
AECCVariant Class
AECCVariant
Syntax
C++
class AECCVariant;

AECCVariant.h

This class specifies civil variant data. 

 

 
Name 
Description 
 
Default destructor for objects of the AECCVariant class. 
 
This is the overview for the AECCVariant constructor overload. 
 
Name 
Description 
 
Undefined variant value. 
 
Name 
Description 
 
Type 
This enumeration specifies variant types. 
 
Name 
Description 
 
Returns the default value. 
 
Returns the variant value of Boolean type. 
 
Returns the variant value of binary data type. 
 
Returns the variant value of color type. 
 
Returns the variant value of double type. 
 
Returns the variant value of a vector of double type. 
 
Returns the expression value. 
 
Returns the variant value of GUID type. 
 
Returns the variant value of Int32 type. 
 
Returns the variant value of a vector of UInt32 type. 
 
Returns the variant value of ObjectId type. 
 
Returns the variant value of Point2d type. 
 
Returns the variant value of Point3d type. 
 
Returns the variant value of SmartReference type. 
 
Returns the variant value of SmartString type. 
 
Returns the variant value of string type. 
 
Returns the variant value of a vector of variant type. 
 
Returns the variant value of Vector2d type. 
 
Returns the variant value of Vector3d type. 
 
id 
Returns the property ID. 
 
Indicates whether this variant value is for a custom property. 
 
Indicates whether the value is locked. 
 
set 
This is the overview for the set method overload. 
 
Sets the variant value of HardOwnershipId type.
 
 
Sets the variant value of HardPointerId type.
 
 
Sets whether the value is locked.
 
 
Sets the variant value of MText type.
 
 
Sets the variant value of SmartString type.
 
 
Sets the variant value of SoftOwnershipId type.
 
 
Sets the variant value of ObjectId type.
 
 
Sets the variant value of SoftPointerXRef type.
 
 
Sets the variant value of string type.
 
 
Sets the variant value as undefined. 
 
This is the overview for the setWithId method overload. 
 
Sets the variant value of HardOwnershipId type with an ID.
 
 
Sets the variant value of HardPointerId type with an ID.
 
 
Sets the variant value of MText type with an ID.
 
 
Sets the variant value of SmartString type with an ID.
 
 
Sets the variant value of SoftOwnershipId type with an ID.
 
 
Sets the variant value of SoftPointerId type with an ID.
 
 
Sets the variant value of SoftPointerXRef type with an ID.
 
 
Sets the variant value of string type with an ID.
 
 
Converts a value of Boolean type to a variant value.
 
 
Converts a value of color type to a variant value.
 
 
Converts a value of double type to a variant value.
 
 
Converts a value of Int32 type to a variant enumeration value.
 
 
Converts a value of GUID type to a variant GUID value.
 
 
Converts a value of ObjectId type to a variant HardOwnershipId value.
 
 
Converts a value of ObjectId type to a variant HardPointerId value.
 
 
Converts a value of Int32 type to a variant value.
 
 
Converts a value of string type to a variant MText value.
 
 
Converts a value of Point2d type to a variant value.
 
 
Converts a value of Point3d type to a variant value.
 
 
Converts a value of ObjectId type to a variant SoftOwnershipId value.
 
 
Converts a value of ObjectId type to a variant SoftPointerId value.
 
 
Converts a value of SmartReference type to a variant SoftPointerXRef value.
 
 
Converts a value of string type to a variant value.
 
 
Converts a value of Vector2d type to a variant value.
 
 
Converts a value of Vector3d type to a variant value.
 
 
type 
Returns the variant data type. 
 
Returns the specific type information. 
 
Name 
Description 
 
!= 
Negative comparison operator. Compares the variant value of the specified AECCVariant object with the value of this object.
 
 
= 
Assignment operator. Assigns the variant value from the specified AECCVariant object to this object.
 
 
== 
Comparison operator. Compares the variant value of the specified AECCVariant object with the value of this object.
 
 
Name 
Description 
 
This structure represents expressions. 
 
This structure represents expression data. 
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.