ezEngine  Milestone 7
ezVariant::Type Struct Reference

This enum describes the type of data that is currently stored inside the variant. More...

#include <Variant.h>

Public Types

enum  Enum {
  Invalid, Bool, Int8, UInt8,
  Int16, UInt16, Int32, UInt32,
  Int64, UInt64, Float, Double,
  Color, Vector2, Vector3, Vector4,
  Quaternion, Matrix3, Matrix4, String,
  Time, Uuid, VariantArray, VariantDictionary,
  ReflectedPointer, VoidPointer, ENUM_COUNT, Default = Invalid
}
 This enum describes the type of data that is currently stored inside the variant. More...
 
typedef ezUInt8 StorageType
 

Detailed Description

This enum describes the type of data that is currently stored inside the variant.

Member Enumeration Documentation

This enum describes the type of data that is currently stored inside the variant.

Enumerator
Invalid 

The variant stores no (valid) data at the moment.

Bool 

The variant stores a bool.

Int8 

The variant stores an ezInt8.

UInt8 

The variant stores an ezUInt8.

Int16 

The variant stores an ezInt16.

UInt16 

The variant stores an ezUInt16.

Int32 

The variant stores an ezInt32.

UInt32 

The variant stores an ezUInt32.

Int64 

The variant stores an ezInt64.

UInt64 

The variant stores an ezUInt64.

Float 

The variant stores a float.

Double 

The variant stores a double.

Color 

The variant stores an ezColor.

Vector2 

The variant stores an ezVec2.

Vector3 

The variant stores an ezVec3.

Vector4 

The variant stores an ezVec4.

Quaternion 

The variant stores an ezQuat.

Matrix3 

The variant stores an ezMat3. A heap allocation is required to store this data type.

Matrix4 

The variant stores an ezMat4. A heap allocation is required to store this data type.

String 

The variant stores a string. A heap allocation is required to store this data type.

Time 

The variant stores an ezTime value.

Uuid 

The variant stores an ezUuid value.

VariantArray 

The variant stores an array of ezVariant's. A heap allocation is required to store this data type.

VariantDictionary 

The variant stores a dictionary (hashmap) of ezVariant's. A heap allocation is required to store this data type.

ReflectedPointer 

The variant stores a pointer to a dynamically reflected object.

VoidPointer 

The variant stores a void pointer.

ENUM_COUNT 

Number of values for ezVariant::Type.

Default 

Default value used by ezEnum.


The documentation for this struct was generated from the following file: