Kanzi  3.9.9
Kanzi Engine Java API
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. More...
 
 VariantDataType (VariantDataType enum_)
 Constructs a copy of a VariantDataType object. More...
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 Returns the integer value of the enumeration constant. More...
 

Static Public Member Functions

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

Public Attributes

 VariantDataTypeBool
 Boolean data.
 
 VariantDataTypeColor
 ColorRGBA data.
 
 VariantDataTypeFloat
 Float data.
 
 VariantDataTypeInt
 Integer data.
 
 VariantDataTypeMatrix3x3
 Matrix3x3 data.
 
 VariantDataTypeMatrix4x4
 Matrix4x4 data.
 
 VariantDataTypePointer
 Pointer 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 ( int  value)

Constructs a VariantDataType of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a VariantDataType object.

Parameters
enum_VariantDataType to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
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.