Urho3D::VariantValue Union Reference

Union for the possible variant values. Objects exceeding the VARIANT_VALUE_SIZE are allocated on the heap. More...

#include <Urho3D/Core/Variant.h>

Collaboration diagram for Urho3D::VariantValue:
[legend]

Public Member Functions

 VariantValue ()
 Construct uninitialized.
 
 VariantValue (const VariantValue &value)=delete
 Non-copyable.
 
 ~VariantValue ()
 Destruct.
 

Public Attributes

unsigned char storage_ [VARIANT_VALUE_SIZE]
 
int int_
 
bool bool_
 
float float_
 
Vector2 vector2_
 
Vector3 vector3_
 
Vector4 vector4_
 
Quaternion quaternion_
 
Color color_
 
String string_
 
PODVector< unsigned char > buffer_
 
void * voidPtr_
 
ResourceRef resourceRef_
 
ResourceRefList resourceRefList_
 
VariantVector variantVector_
 
VariantMap variantMap_
 
IntRect intRect_
 
IntVector2 intVector2_
 
WeakPtr< RefCountedweakPtr_
 
Matrix3matrix3_
 
Matrix3x4matrix3x4_
 
Matrix4matrix4_
 
double double_
 
StringVector stringVector_
 
Rect rect_
 
IntVector3 intVector3_
 
long long int64_
 
CustomVariantValuecustomValueHeap_
 
CustomVariantValue customValueStack_
 

Detailed Description

Union for the possible variant values. Objects exceeding the VARIANT_VALUE_SIZE are allocated on the heap.


The documentation for this union was generated from the following file:
  • Source/Urho3D/Core/Variant.h