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::FloatTypeInterfaceImpl< T > Class Template Reference

#include <inttypeinterface.hxx>

Public Types

using ImplType = detail::TypeImplMethodsBySize_t< T >
 

Public Member Functions

double get (void *value) override
 Get the float value. More...
 
void set (void **storage, double value) override
 Set the value of the float. More...
 
unsigned int size () override
 Return the size in bytes. More...
 
 _QI_BOUNCE_TYPE_METHODS (ImplType)
 
- Public Member Functions inherited from qi::FloatTypeInterface
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::FloatTypeInterfaceImpl< T >

Definition at line 79 of file inttypeinterface.hxx.

Member Typedef Documentation

Definition at line 82 of file inttypeinterface.hxx.

Member Function Documentation

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

Get the float value.

Implements qi::FloatTypeInterface.

Definition at line 84 of file inttypeinterface.hxx.

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

Set the value of the float.

Implements qi::FloatTypeInterface.

Definition at line 89 of file inttypeinterface.hxx.

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

Return the size in bytes.

Implements qi::FloatTypeInterface.

Definition at line 94 of file inttypeinterface.hxx.


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