Custom variant value. This type is not abstract to store it in the VariantValue by value.
More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Core/Variant.h>
|
|
| CustomVariantValue () |
| | Construct empty.
|
| |
|
virtual | ~CustomVariantValue ()=default |
| | Destruct.
|
| |
|
const std::type_info & | GetTypeInfo () const |
| | Get the type info.
|
| |
|
template<class T > |
| bool | IsType () const |
| | Return whether the specified type is stored.
|
| |
|
template<class T > |
| T * | GetValuePtr () |
| | Return pointer to value of the specified type. Return null pointer if type does not match.
|
| |
|
template<class T > |
| const T * | GetValuePtr () const |
| | Return const pointer to value of the specified type. Return null pointer if type does not match.
|
| |
| virtual bool | Assign (const CustomVariantValue &rhs) |
| | Assign value. More...
|
| |
| virtual CustomVariantValue * | Clone () const |
| | Clone. More...
|
| |
| virtual void | Clone (void *dest) const |
| | Placement clone. More...
|
| |
| virtual unsigned | GetSize () const |
| | Get size. More...
|
| |
| virtual bool | Compare (const CustomVariantValue &rhs) const |
| | Compare to another custom value. More...
|
| |
| virtual bool | IsZero () const |
| | Compare to zero. More...
|
| |
| virtual String | ToString () const |
| | Convert custom value to string. More...
|
| |
|
|
| CustomVariantValue (const std::type_info &typeInfo) |
| | Construct from type info.
|
| |
|
|
const std::type_info & | typeInfo_ |
| | Type info.
|
| |
|
|
template<class T > |
| class | CustomVariantValueImpl |
| |
Custom variant value. This type is not abstract to store it in the VariantValue by value.
◆ Assign()
◆ Clone() [1/2]
◆ Clone() [2/2]
| virtual void Urho3D::CustomVariantValue::Clone |
( |
void * |
dest | ) |
const |
|
inlinevirtual |
◆ Compare()
◆ GetSize()
| virtual unsigned Urho3D::CustomVariantValue::GetSize |
( |
| ) |
const |
|
inlinevirtual |
◆ IsZero()
| virtual bool Urho3D::CustomVariantValue::IsZero |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
| virtual String Urho3D::CustomVariantValue::ToString |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file:
- /home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Core/Variant.h