Rebel Fork Framework
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>

Public Member Functions

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

Public Attributes

unsigned char storage_ [VARIANT_VALUE_SIZE]
 
int int_
 
bool bool_
 
float float_
 
double double_
 
long long int64_
 
void * voidPtr_
 
WeakPtr< RefCountedweakPtr_
 
Vector2 vector2_
 
Vector3 vector3_
 
Vector4 vector4_
 
Rect rect_
 
IntVector2 intVector2_
 
IntVector3 intVector3_
 
IntRect intRect_
 
Matrix3matrix3_
 
Matrix3x4matrix3x4_
 
Matrix4matrix4_
 
Quaternion quaternion_
 
Color color_
 
ea::string string_
 
StringVector stringVector_
 
VariantVector variantVector_
 
VariantMapvariantMap_
 
VariantBuffer buffer_
 
ResourceRef resourceRef_
 
ResourceRefList resourceRefList_
 
VariantCurvevariantCurve_
 
StringVariantMapstringVariantMap_
 

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: