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.
CustomVariantValue & AsCustomValue ()
 Get custom variant value.
const CustomVariantValue & AsCustomValue () 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< RefCounted > weakPtr_
Vector2 vector2_
Vector3 vector3_
Vector4 vector4_
DoubleVector2 doubleVector2_
DoubleVector3 * doubleVector3_
Rect rect_
IntVector2 intVector2_
IntVector3 intVector3_
IntRect intRect_
Matrix3 * matrix3_
Matrix3x4 * matrix3x4_
Matrix4 * matrix4_
Quaternion quaternion_
Color color_
ea::string string_
StringVector stringVector_
VariantVector variantVector_
VariantMap * variantMap_
VariantBuffer buffer_
ResourceRef resourceRef_
ResourceRefList resourceRefList_
VariantCurve * variantCurve_
StringVariantMap * stringVariantMap_

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:
  • Urho3D/Core/Variant.h