libqi-api
2.8.7.4
|
#include <anyvalue.hxx>
Public Types | |
using | Methods = DefaultTypeImplMethods< AnyValue, TypeByPointerPOD< AnyValue >> |
Public Member Functions | |
AnyReference | get (void *storage) override |
Get a reference to the underlying element. More... | |
void | set (void **storage, AnyReference src) override |
Set the underlying element. More... | |
_QI_BOUNCE_TYPE_METHODS (Methods) | |
![]() | |
TypeKind | kind () override |
![]() | |
virtual | ~TypeInterface ()=default |
virtual const TypeInfo & | info ()=0 |
Get the TypeInfo corresponding to this type. More... | |
virtual void * | initializeStorage (void *ptr=nullptr)=0 |
virtual void * | ptrFromStorage (void **)=0 |
virtual void * | clone (void *)=0 |
Allocate a storage and copy the value given as an argument. More... | |
virtual void | destroy (void *)=0 |
Free all resources of a storage. More... | |
virtual bool | less (void *a, void *b)=0 |
const char * | infoString () |
qi::Signature | signature (void *storage=nullptr, bool resolveDynamic=false) |
Additional Inherited Members | |
![]() | |
static TypeInterface * | fromSignature (const qi::Signature &sig) |
Definition at line 20 of file anyvalue.hxx.
using qi::TypeImpl< AnyValue >::Methods = DefaultTypeImplMethods<AnyValue, TypeByPointerPOD<AnyValue>> |
Definition at line 36 of file anyvalue.hxx.
qi::TypeImpl< AnyValue >::_QI_BOUNCE_TYPE_METHODS | ( | Methods | ) |
|
inlineoverridevirtual |
Get a reference to the underlying element.
Implements qi::DynamicTypeInterface.
Definition at line 23 of file anyvalue.hxx.
|
inlineoverridevirtual |
Set the underlying element.
Implements qi::DynamicTypeInterface.
Definition at line 29 of file anyvalue.hxx.