|
libqi-api
2.8.7.4
|
#include <typeinterface.hpp>
Public Member Functions | |
| virtual int64_t | get (void *value)=0 |
| Get the integer value. More... | |
| virtual unsigned int | size ()=0 |
| Return the size in bytes. More... | |
| virtual bool | isSigned ()=0 |
| Return true if the integer is signed. More... | |
| virtual void | set (void **storage, int64_t value)=0 |
| Set the value of the integer. More... | |
| TypeKind | kind () override |
Public Member Functions inherited from qi::TypeInterface | |
| 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 Public Member Functions inherited from qi::TypeInterface | |
| static TypeInterface * | fromSignature (const qi::Signature &sig) |
Definition at line 78 of file typeinterface.hpp.
|
pure virtual |
Get the integer value.
Implemented in qi::TypeBoolImpl< T >, and qi::IntTypeInterfaceImpl< T >.
|
pure virtual |
Return true if the integer is signed.
Implemented in qi::TypeBoolImpl< T >, and qi::IntTypeInterfaceImpl< T >.
|
inlineoverridevirtual |
Get the kind of the data.
This is used to downcast the TypeInterface object to a specialized interface.
Reimplemented from qi::TypeInterface.
Definition at line 89 of file typeinterface.hpp.
|
pure virtual |
Set the value of the integer.
Implemented in qi::TypeBoolImpl< T >, and qi::IntTypeInterfaceImpl< T >.
|
pure virtual |
Return the size in bytes.
Implemented in qi::TypeBoolImpl< T >, and qi::IntTypeInterfaceImpl< T >.