|
libqi-api
2.4.3.28
|
#include <maptypeinterface.hxx>
Public Types | |
| typedef DefaultTypeImplMethods < M, TypeByPointerPOD< M > > | MethodsImpl |
Public Member Functions | |
| MapTypeInterfaceImpl () | |
| virtual TypeInterface * | elementType () |
| Get the types of the values of the map. More... | |
| virtual TypeInterface * | keyType () |
| Get the types of the keys of the map. More... | |
| virtual size_t | size (void *storage) |
| Return the number of elements in the map. More... | |
| virtual AnyIterator | begin (void *storage) |
| Return an iterator pointing to the first key-value pair of the map. More... | |
| virtual AnyIterator | end (void *storage) |
| virtual void | insert (void **storage, void *keyStorage, void *valueStorage) |
| Set a key to a value and creates it if it does not exist. More... | |
| virtual AnyReference | element (void **storage, void *keyStorage, bool autoInsert) |
| _QI_BOUNCE_TYPE_METHODS (MethodsImpl) | |
Public Member Functions inherited from qi::MapTypeInterface | |
| virtual TypeKind | kind () |
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) |
Public Attributes | |
| TypeInterface * | _keyType |
| TypeInterface * | _elementType |
Additional Inherited Members | |
Static Public Member Functions inherited from qi::TypeInterface | |
| static TypeInterface * | fromSignature (const qi::Signature &sig) |
Definition at line 13 of file maptypeinterface.hxx.
| typedef DefaultTypeImplMethods<M, TypeByPointerPOD<M> > qi::MapTypeInterfaceImpl< M >::MethodsImpl |
Definition at line 19 of file maptypeinterface.hxx.
| qi::MapTypeInterfaceImpl< M >::MapTypeInterfaceImpl | ( | ) |
Definition at line 37 of file maptypeinterface.hxx.
| qi::MapTypeInterfaceImpl< M >::_QI_BOUNCE_TYPE_METHODS | ( | MethodsImpl | ) |
|
virtual |
Return an iterator pointing to the first key-value pair of the map.
Implements qi::MapTypeInterface.
Definition at line 65 of file maptypeinterface.hxx.
|
virtual |
Get the value corresponding to the requested key
If the key does not exist and autoInsert is true, it is created, otherwise an invalid reference is returned.
Implements qi::MapTypeInterface.
Definition at line 92 of file maptypeinterface.hxx.
|
virtual |
Get the types of the values of the map.
Implements qi::MapTypeInterface.
Definition at line 45 of file maptypeinterface.hxx.
|
virtual |
Return an iterator pointing to one past the last key-value pair of the list (do not dereference this iterator!)
Implements qi::MapTypeInterface.
Definition at line 72 of file maptypeinterface.hxx.
|
virtual |
Set a key to a value and creates it if it does not exist.
Implements qi::MapTypeInterface.
Definition at line 79 of file maptypeinterface.hxx.
|
virtual |
Get the types of the keys of the map.
Implements qi::MapTypeInterface.
Definition at line 51 of file maptypeinterface.hxx.
|
virtual |
Return the number of elements in the map.
Implements qi::MapTypeInterface.
Definition at line 57 of file maptypeinterface.hxx.
| TypeInterface* qi::MapTypeInterfaceImpl< M >::_elementType |
Definition at line 30 of file maptypeinterface.hxx.
| TypeInterface* qi::MapTypeInterfaceImpl< M >::_keyType |
Definition at line 29 of file maptypeinterface.hxx.