Kanzi 3.9.10
VariantDataType Enum Reference

Specifies the data types that can be stored as variants. More...

Inheritance diagram for VariantDataType:
[legend]

Public Member Functions

 VariantDataType (int value)
 Constructs a VariantDataType of an integer value.
 
 VariantDataType (VariantDataType enum_)
 Constructs a copy of a VariantDataType object.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static VariantDataType swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static VariantDataType toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 VariantDataTypeBool
 Boolean data.
 
 VariantDataTypeColor
 ColorRGBA data.
 
 VariantDataTypeFloat
 Float data.
 
 VariantDataTypeInt
 Integer data.
 
 VariantDataTypeMatrix3x3
 Matrix3x3 data.
 
 VariantDataTypeMatrix4x4
 Matrix4x4 data.
 
 VariantDataTypePointer
 Pointer data.
 
 VariantDataTypeQuaternion
 Quaternion data.
 
 VariantDataTypeResource
 Resource data.
 
 VariantDataTypeResourceID
 ResourceID data.
 
 VariantDataTypeSRT2D
 SRTValue2D data.
 
 VariantDataTypeSRT3D
 SRTValue3D data.
 
 VariantDataTypeString
 String data.
 
 VariantDataTypeVector2
 Vector2 data.
 
 VariantDataTypeVector3
 Vector3 data.
 
 VariantDataTypeVector4
 Vector4 data.
 

Detailed Description

Specifies the data types that can be stored as variants.


NOTE: This is the same as PropertyDataType but with ResourceID and Quaternion.

Constructor & Destructor Documentation

◆ VariantDataType() [1/2]

VariantDataType ( int value)

Constructs a VariantDataType of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ VariantDataType() [2/2]

Constructs a copy of a VariantDataType object.

Parameters
enum_VariantDataType to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static VariantDataType swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static VariantDataType toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.