|
libqi-api
release-2.5.3-2016-11-18
|
#include <typeinterface.hpp>
Public Member Functions | |
| TypeKind | kind () override |
Public Member Functions inherited from qi::ListTypeInterface | |
| virtual TypeInterface * | elementType ()=0 |
| Get the type of the elements of the list. More... | |
| virtual size_t | size (void *storage)=0 |
| Return the number of elements in the list. More... | |
| virtual AnyIterator | begin (void *storage)=0 |
| Return an iterator pointing to the first element of the list. More... | |
| virtual AnyIterator | end (void *storage)=0 |
| virtual void | pushBack (void **storage, void *valueStorage)=0 |
| Append an element to the end of the list. More... | |
| 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) |
Type that contains variable arguments
Definition at line 322 of file typeinterface.hpp.
|
inlineoverridevirtual |
Get the kind of the data.
This is used to downcast the TypeInterface object to a specialized interface.
Reimplemented from qi::ListTypeInterface.
Definition at line 327 of file typeinterface.hpp.