#include <Urho3D/Core/Variant.h>
|
|
| CustomVariantValue ()=default |
| | 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 | CopyTo (CustomVariantValue &dest) const |
| | Assign value to destination.
|
| |
| virtual bool | MoveTo (CustomVariantValue &dest) |
| | Move-assign value to destination.
|
| |
| virtual void | CloneTo (void *dest) const |
| | Clone object over destination.
|
| |
| virtual void | RelocateTo (void *dest) |
| | Move object over destination.
|
| |
| virtual unsigned | GetSize () const |
| | Get size.
|
| |
| virtual bool | Compare (const CustomVariantValue &) const |
| | Compare to another custom value.
|
| |
| virtual bool | IsZero () const |
| | Compare to zero.
|
| |
| virtual ea::string | ToString () const |
| | Convert custom value to string.
|
| |
| virtual void | Serialize (Archive &, const char *) |
| | Serialize to Archive.
|
| |
|
|
| CustomVariantValue (const std::type_info &typeInfo) |
| | Construct from type info.
|
| |
|
|
const std::type_info & | typeInfo_ { typeid(void) } |
| | Type info.
|
| |
|
|
template<class T > |
| class | CustomVariantValueImpl |
| |
Custom variant value. This type is not abstract to store it in the VariantValue by value.
◆ CloneTo()
| virtual void Urho3D::CustomVariantValue::CloneTo |
( |
void * |
dest | ) |
const |
|
inlinevirtual |
◆ Compare()
◆ CopyTo()
◆ GetSize()
| virtual unsigned Urho3D::CustomVariantValue::GetSize |
( |
| ) |
const |
|
inlinevirtual |
◆ IsZero()
| virtual bool Urho3D::CustomVariantValue::IsZero |
( |
| ) |
const |
|
inlinevirtual |
◆ MoveTo()
◆ RelocateTo()
| virtual void Urho3D::CustomVariantValue::RelocateTo |
( |
void * |
dest | ) |
|
|
inlinevirtual |
◆ Serialize()
| virtual void Urho3D::CustomVariantValue::Serialize |
( |
Archive & |
, |
|
|
const char * |
|
|
) |
| |
|
inlinevirtual |
◆ ToString()
| virtual ea::string Urho3D::CustomVariantValue::ToString |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: