Union container for manipulating an object from a heterogeneous set of types in a uniform manner. More...
#include <kanzi/core.ui/property/variant.hpp>
Public Types | |
typedef variant< monostate, bool, int, float, ColorRGBA, Vector2, Vector3, Vector4, SRTValue2D, SRTValue3D, Matrix3x3, Matrix4x4, string, ResourceID, ResourceSharedPtr, void *, KzcQuaternion > | BaseClass |
Public Member Functions | |
Variant () | |
template<typename T > | |
Variant (const T &v) | |
template<typename T > | |
Variant & | operator= (const T &v) |
Variant (const Variant &v) | |
Variant & | operator= (Variant other) |
Friends | |
bool | operator== (const Variant &lhs, const Variant &rhs) |
Union container for manipulating an object from a heterogeneous set of types in a uniform manner.
typedef variant<monostate, bool, int, float, ColorRGBA, Vector2, Vector3, Vector4, SRTValue2D, SRTValue3D, Matrix3x3, Matrix4x4, string, ResourceID, ResourceSharedPtr, void*, KzcQuaternion> kanzi::Variant::BaseClass |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |