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

#include <listtypeinterface.hxx>

Public Types

using BaseClass = ListTypeInterfaceImpl< typename T::VectorType, VarArgsTypeInterface >
 
using MethodsImpl = DefaultTypeImplMethods< T, TypeByPointerPOD< T >>
 
- Public Types inherited from qi::ListTypeInterfaceImpl< T::VectorType, VarArgsTypeInterface >
using MethodsImpl = DefaultTypeImplMethods< T, TypeByPointerPOD< T >>
 

Public Member Functions

 VarArgsTypeInterfaceImpl ()
 
 _QI_BOUNCE_TYPE_METHODS (MethodsImpl)
 
void * adaptStorage (void **storage)
 
size_t size (void *storage) override
 Return the number of elements in the list. More...
 
AnyIterator begin (void *storage) override
 Return an iterator pointing to the first element of the list. More...
 
AnyIterator end (void *storage) override
 
void pushBack (void **storage, void *valueStorage) override
 Append an element to the end of the list. More...
 
- Public Member Functions inherited from qi::ListTypeInterfaceImpl< T::VectorType, VarArgsTypeInterface >
 ListTypeInterfaceImpl ()
 
size_t size (void *storage) override
 
TypeInterfaceelementType () override
 
AnyIterator begin (void *storage) override
 
AnyIterator end (void *storage) override
 
void pushBack (void **storage, void *valueStorage) override
 
 _QI_BOUNCE_TYPE_METHODS (MethodsImpl)
 
- Public Member Functions inherited from qi::VarArgsTypeInterface
TypeKind kind () override
 
- Public Member Functions inherited from qi::ListTypeInterface
virtual void * element (void *storage, int index)
 Get the element at index. More...
 
- 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)
 
- Public Attributes inherited from qi::ListTypeInterfaceImpl< T::VectorType, VarArgsTypeInterface >
TypeInterface_elementType
 

Detailed Description

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

Definition at line 130 of file listtypeinterface.hxx.

Member Typedef Documentation

template<typename T>
using qi::VarArgsTypeInterfaceImpl< T >::BaseClass = ListTypeInterfaceImpl<typename T::VectorType, VarArgsTypeInterface>

Definition at line 133 of file listtypeinterface.hxx.

Definition at line 135 of file listtypeinterface.hxx.

Constructor & Destructor Documentation

template<typename T>
qi::VarArgsTypeInterfaceImpl< T >::VarArgsTypeInterfaceImpl ( )
inline

Definition at line 136 of file listtypeinterface.hxx.

Member Function Documentation

template<typename T>
qi::VarArgsTypeInterfaceImpl< T >::_QI_BOUNCE_TYPE_METHODS ( MethodsImpl  )
template<typename T>
void* qi::VarArgsTypeInterfaceImpl< T >::adaptStorage ( void **  storage)
inline

Definition at line 140 of file listtypeinterface.hxx.

template<typename T>
AnyIterator qi::VarArgsTypeInterfaceImpl< T >::begin ( void *  storage)
inlineoverridevirtual

Return an iterator pointing to the first element of the list.

Implements qi::ListTypeInterface.

Definition at line 150 of file listtypeinterface.hxx.

template<typename T>
AnyIterator qi::VarArgsTypeInterfaceImpl< T >::end ( void *  storage)
inlineoverridevirtual

Return an iterator pointing to one past the last element of the list (do not dereference this iterator!)

Implements qi::ListTypeInterface.

Definition at line 153 of file listtypeinterface.hxx.

template<typename T>
void qi::VarArgsTypeInterfaceImpl< T >::pushBack ( void **  storage,
void *  valueStorage 
)
inlineoverridevirtual

Append an element to the end of the list.

Implements qi::ListTypeInterface.

Definition at line 156 of file listtypeinterface.hxx.

template<typename T>
size_t qi::VarArgsTypeInterfaceImpl< T >::size ( void *  storage)
inlineoverridevirtual

Return the number of elements in the list.

Implements qi::ListTypeInterface.

Definition at line 147 of file listtypeinterface.hxx.


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