| Urho3D
    | 
Custom variant value implementation. More...
#include </home/runner/work/Dviglo/Dviglo/DvigloRepository/Source/Urho3D/Core/Variant.h>
 
  
| Public Types | |
| using | ClassName = CustomVariantValueImpl< T > | 
| This class name. | |
| using | Traits = CustomVariantValueTraits< T > | 
| Type traits. | |
| Public Member Functions | |
| CustomVariantValueImpl (const T &value) | |
| Construct from value. | |
| void | SetValue (const T &value) | 
| Set value. | |
| T & | GetValue () | 
| Get value. | |
| const T & | GetValue () const | 
| Get const value. | |
| bool | Assign (const CustomVariantValue &rhs) override | 
| Assign value. | |
| CustomVariantValue * | Clone () const override | 
| Clone. | |
| void | Clone (void *dest) const override | 
| Placement clone. | |
| unsigned | GetSize () const override | 
| Get size. | |
| bool | Compare (const CustomVariantValue &rhs) const override | 
| Compare to another custom value. | |
| bool | IsZero () const override | 
| Compare to zero. | |
| String | ToString () const override | 
| Convert custom value to string. | |
|  Public Member Functions inherited from Dviglo::CustomVariantValue | |
| 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. | |
| Private Attributes | |
| T | value_ | 
| Value. | |
Custom variant value implementation.
 1.8.17
 1.8.17