#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.
|
|
|
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.
The documentation for this class was generated from the following file: