class
#include <OE/Meta/Variant.hpp>
Variant
Contents
Constructors, destructors, conversion operators
- ~Variant()
- Variant()
- Variant(const Variant& v)
- Variant(const Kind kind)
- Variant(const void* data, const unsigned int size, const Kind kind)
- Variant(void* ptr)
- Variant(const bool b)
- Variant(const char c)
- Variant(const int i)
- Variant(const unsigned int ui)
- Variant(const long l)
- Variant(const long long ll)
- Variant(const unsigned long ul)
- Variant(const unsigned long long ull)
- Variant(const double d)
- Variant(const float f)
- Variant(const std::string& str)
-
Variant(const Math::
Vec2i& v2i) -
Variant(const Math::
Vec3i& v3i) -
Variant(const Math::
Vec4i& v4i) -
Variant(const Math::
Vec2f& v2f) -
Variant(const Math::
Vec3f& v3f) -
Variant(const Math::
Vec4f& v4f)
Public functions
- auto operator=(const Variant& v) -> Variant&
- auto GetKind() const -> Kind
- auto IsValid() const -> bool
- auto IsNull() const -> bool
- auto GetBool() const -> bool
- auto GetChar() const -> char
- auto GetInt() const -> int
- auto GetUInt() const -> unsigned int
- auto GetLong() const -> long
- auto GetLongLong() const -> long long
- auto GetULong() const -> unsigned long
- auto GetULongLong() const -> unsigned long long
- auto GetDouble() const -> double
- auto GetFloat() const -> float
-
auto GetVec2i() const -> Math::
Vec2i -
auto GetVec3i() const -> Math::
Vec3i -
auto GetVec4i() const -> Math::
Vec4i -
auto GetVec2f() const -> Math::
Vec2f -
auto GetVec3f() const -> Math::
Vec3f -
auto GetVec4f() const -> Math::
Vec4f - auto GetPointer() const -> void*
- auto GetString() const -> std::string
- auto GetDataPointer() const -> void*
Friends
- auto operator==(const Variant& lhs, const Variant& rhs) -> bool
- auto operator!=(const Variant& lhs, const Variant& rhs) -> bool