libqi-api  release-2.5.3-2016-11-18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
qi::IntTypeInterface Class Referenceabstract

#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 const TypeInfoinfo ()=0
 Get the TypeInfo corresponding to this type. More...
 
virtual void * initializeStorage (void *ptr=0)=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=0, bool resolveDynamic=false)
 

Additional Inherited Members

- Static Public Member Functions inherited from qi::TypeInterface
static TypeInterfacefromSignature (const qi::Signature &sig)
 

Detailed Description

Definition at line 77 of file typeinterface.hpp.

Member Function Documentation

virtual int64_t qi::IntTypeInterface::get ( void *  value)
pure virtual

Get the integer value.

Implemented in qi::TypeBoolImpl< T >, and qi::IntTypeInterfaceImpl< T >.

virtual bool qi::IntTypeInterface::isSigned ( )
pure virtual

Return true if the integer is signed.

Implemented in qi::TypeBoolImpl< T >, and qi::IntTypeInterfaceImpl< T >.

TypeKind qi::IntTypeInterface::kind ( )
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 88 of file typeinterface.hpp.

virtual void qi::IntTypeInterface::set ( void **  storage,
int64_t  value 
)
pure virtual

Set the value of the integer.

Implemented in qi::TypeBoolImpl< T >, and qi::IntTypeInterfaceImpl< T >.

virtual unsigned int qi::IntTypeInterface::size ( )
pure virtual

Return the size in bytes.

Implemented in qi::TypeBoolImpl< T >, and qi::IntTypeInterfaceImpl< T >.


The documentation for this class was generated from the following file: