libqi-api
2.8.7.4
|
#include <listtypeinterface.hxx>
Public Types | |
using | BaseClass = ListTypeInterfaceImpl< typename T::VectorType, VarArgsTypeInterface > |
using | MethodsImpl = DefaultTypeImplMethods< T, TypeByPointerPOD< T >> |
![]() | |
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... | |
![]() | |
ListTypeInterfaceImpl () | |
size_t | size (void *storage) override |
TypeInterface * | elementType () override |
AnyIterator | begin (void *storage) override |
AnyIterator | end (void *storage) override |
void | pushBack (void **storage, void *valueStorage) override |
_QI_BOUNCE_TYPE_METHODS (MethodsImpl) | |
![]() | |
TypeKind | kind () override |
![]() | |
virtual void * | element (void *storage, int index) |
Get the element at index. More... | |
![]() | |
virtual | ~TypeInterface ()=default |
virtual const TypeInfo & | info ()=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 TypeInterface * | fromSignature (const qi::Signature &sig) |
![]() | |
TypeInterface * | _elementType |
Definition at line 130 of file listtypeinterface.hxx.
using qi::VarArgsTypeInterfaceImpl< T >::BaseClass = ListTypeInterfaceImpl<typename T::VectorType, VarArgsTypeInterface> |
Definition at line 133 of file listtypeinterface.hxx.
using qi::VarArgsTypeInterfaceImpl< T >::MethodsImpl = DefaultTypeImplMethods<T, TypeByPointerPOD<T>> |
Definition at line 135 of file listtypeinterface.hxx.
|
inline |
Definition at line 136 of file listtypeinterface.hxx.
qi::VarArgsTypeInterfaceImpl< T >::_QI_BOUNCE_TYPE_METHODS | ( | MethodsImpl | ) |
|
inline |
Definition at line 140 of file listtypeinterface.hxx.
|
inlineoverridevirtual |
Return an iterator pointing to the first element of the list.
Implements qi::ListTypeInterface.
Definition at line 150 of file listtypeinterface.hxx.
|
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.
|
inlineoverridevirtual |
Append an element to the end of the list.
Implements qi::ListTypeInterface.
Definition at line 156 of file listtypeinterface.hxx.
|
inlineoverridevirtual |
Return the number of elements in the list.
Implements qi::ListTypeInterface.
Definition at line 147 of file listtypeinterface.hxx.