libqi-api  2.4.3.28
 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

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

Public Member Functions

 VarArgsTypeInterfaceImpl ()
 
 _QI_BOUNCE_TYPE_METHODS (MethodsImpl)
 
void * adaptStorage (void **storage)
 
virtual size_t size (void *storage)
 Return the number of elements in the list. More...
 
virtual AnyIterator begin (void *storage)
 Return an iterator pointing to the first element of the list. More...
 
virtual AnyIterator end (void *storage)
 
virtual void pushBack (void **storage, void *valueStorage)
 Append an element to the end of the list. More...
 
- Public Member Functions inherited from qi::ListTypeInterfaceImpl< T::VectorType, VarArgsTypeInterface >
 ListTypeInterfaceImpl ()
 
virtual TypeInterface * elementType ()
 
 _QI_BOUNCE_TYPE_METHODS (MethodsImpl)
 
- Public Member Functions inherited from qi::VarArgsTypeInterface
virtual TypeKind kind ()
 
- 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 const TypeInfo & info ()=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 TypeInterface * fromSignature (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 132 of file listtypeinterface.hxx.

Member Typedef Documentation

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

Definition at line 135 of file listtypeinterface.hxx.

Definition at line 137 of file listtypeinterface.hxx.

Constructor & Destructor Documentation

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

Definition at line 138 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 142 of file listtypeinterface.hxx.

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

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

Reimplemented from qi::ListTypeInterfaceImpl< T::VectorType, VarArgsTypeInterface >.

Definition at line 152 of file listtypeinterface.hxx.

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

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

Reimplemented from qi::ListTypeInterfaceImpl< T::VectorType, VarArgsTypeInterface >.

Definition at line 155 of file listtypeinterface.hxx.

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

Append an element to the end of the list.

Reimplemented from qi::ListTypeInterfaceImpl< T::VectorType, VarArgsTypeInterface >.

Definition at line 158 of file listtypeinterface.hxx.

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

Return the number of elements in the list.

Reimplemented from qi::ListTypeInterfaceImpl< T::VectorType, VarArgsTypeInterface >.

Definition at line 149 of file listtypeinterface.hxx.


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