libqi-api
2.8.7.4
|
#include <inttypeinterface.hxx>
Public Types | |
using | ImplType = detail::TypeImplMethodsBySize_t< T > |
Public Member Functions | |
int64_t | get (void *value) override |
Get the integer value. More... | |
void | set (void **storage, int64_t value) override |
Set the value of the integer. More... | |
unsigned int | size () override |
Return the size in bytes. More... | |
bool | isSigned () override |
Return true if the integer is signed. More... | |
_QI_BOUNCE_TYPE_METHODS (ImplType) | |
![]() | |
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 16 of file inttypeinterface.hxx.
using qi::IntTypeInterfaceImpl< T >::ImplType = detail::TypeImplMethodsBySize_t<T> |
Definition at line 19 of file inttypeinterface.hxx.
qi::IntTypeInterfaceImpl< T >::_QI_BOUNCE_TYPE_METHODS | ( | ImplType | ) |
|
inlineoverridevirtual |
Get the integer value.
Implements qi::IntTypeInterface.
Definition at line 21 of file inttypeinterface.hxx.
|
inlineoverridevirtual |
Return true if the integer is signed.
Implements qi::IntTypeInterface.
Definition at line 36 of file inttypeinterface.hxx.
|
inlineoverridevirtual |
Set the value of the integer.
Implements qi::IntTypeInterface.
Definition at line 26 of file inttypeinterface.hxx.
|
inlineoverridevirtual |
Return the size in bytes.
Implements qi::IntTypeInterface.
Definition at line 31 of file inttypeinterface.hxx.