libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
qi::IntTypeInterfaceImpl< T > Class Template Reference

#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)
 
- Public Member Functions inherited from qi::IntTypeInterface
TypeKind kind () override
 
- Public Member Functions inherited from qi::TypeInterface
virtual ~TypeInterface ()=default
 
virtual const TypeInfoinfo ()=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 TypeInterfacefromSignature (const qi::Signature &sig)
 

Detailed Description

template<typename T>
class qi::IntTypeInterfaceImpl< T >

Definition at line 16 of file inttypeinterface.hxx.

Member Typedef Documentation

template<typename T >
using qi::IntTypeInterfaceImpl< T >::ImplType = detail::TypeImplMethodsBySize_t<T>

Definition at line 19 of file inttypeinterface.hxx.

Member Function Documentation

template<typename T >
qi::IntTypeInterfaceImpl< T >::_QI_BOUNCE_TYPE_METHODS ( ImplType  )
template<typename T >
int64_t qi::IntTypeInterfaceImpl< T >::get ( void *  value)
inlineoverridevirtual

Get the integer value.

Implements qi::IntTypeInterface.

Definition at line 21 of file inttypeinterface.hxx.

template<typename T >
bool qi::IntTypeInterfaceImpl< T >::isSigned ( )
inlineoverridevirtual

Return true if the integer is signed.

Implements qi::IntTypeInterface.

Definition at line 36 of file inttypeinterface.hxx.

template<typename T >
void qi::IntTypeInterfaceImpl< T >::set ( void **  storage,
int64_t  value 
)
inlineoverridevirtual

Set the value of the integer.

Implements qi::IntTypeInterface.

Definition at line 26 of file inttypeinterface.hxx.

template<typename T >
unsigned int qi::IntTypeInterfaceImpl< T >::size ( )
inlineoverridevirtual

Return the size in bytes.

Implements qi::IntTypeInterface.

Definition at line 31 of file inttypeinterface.hxx.


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