#include <IndexedMap.hpp>
Public Member Functions | |
| TIndexedMap () | |
| TIndexedMap (const TIndexedMap< TKeyType, TValueType > &rMappedList) | |
| TIndexedMap (const IMap< TKeyType, TValueType > &rMap) | |
| virtual | ~TIndexedMap () |
| virtual void MQUALIFIER | clear () |
| virtual void MQUALIFIER | copyToMap (IMap< TKeyType, TValueType > &rMap) const |
| virtual void MQUALIFIER | copyValuesToList (IList< TValueType > &rList) const |
| virtual void MQUALIFIER | copyKeysToList (IList< TKeyType > &rList) const |
| virtual bool MQUALIFIER | deleteItem (const TKeyType &rKey) |
| virtual bool MQUALIFIER | equals (const IMap< TKeyType, TValueType > &rMap) const |
| virtual Int MQUALIFIER | getCount () const |
| virtual TValueType &MQUALIFIER | getItem (const TKeyType &rKey) |
| virtual const TValueType &MQUALIFIER | getItemConst (const TKeyType &rKey) const |
| virtual TValueType &MQUALIFIER | getOrCreateItem (const TKeyType &rKey) |
| virtual const IMapIterator < TKeyType, TValueType > *MQUALIFIER | getConstIterator () const |
| virtual const IListIterator < TKeyType > *MQUALIFIER | getConstKeyIterator () const |
| virtual const IListIterator < TValueType > *MQUALIFIER | getConstValueIterator () const |
| virtual bool MQUALIFIER | hasItem (const TKeyType &rKey) const |
| virtual bool MQUALIFIER | isEmpty () const |
| virtual void MQUALIFIER | releaseIterator (const IListIterator< TValueType > *pIterator) const |
| virtual void MQUALIFIER | releaseKeyIterator (const IListIterator< TKeyType > *pIterator) const |
| virtual void MQUALIFIER | setItem (const TKeyType &rKey, const TValueType &rValue) |
| virtual void MQUALIFIER | copyToIndexedMap (TIndexedMap< TKeyType, TValueType > &rIndexedMap) const |
| virtual bool MQUALIFIER | deleteItemByIndex (Int iIndex) |
| virtual bool MQUALIFIER | equals (const IIndexedMap< TKeyType, TValueType > &rIndexedMap) const |
| virtual bool | equals (const TIndexedMap< TKeyType, TValueType > &rIndexedMap) const |
| virtual Int MQUALIFIER | getIndexByKey (const TKeyType &rKey) |
| virtual const Int MQUALIFIER | getIndexByKeyConst (const TKeyType &rKey) const |
| virtual TKeyType MQUALIFIER | getKeyByIndex (Int iIndex) |
| virtual const TKeyType MQUALIFIER | getKeyByIndexConst (Int iIndex) const |
| virtual TValueType &MQUALIFIER | getValueByIndex (Int iIndex) |
| virtual const TValueType &MQUALIFIER | getValueByIndexConst (Int iIndex) const |
| virtual const IMap< TKeyType, TValueType > &MQUALIFIER | getMapConst () const |
| virtual TIndexedMap< TKeyType, TValueType > & | operator= (const TIndexedMap< TKeyType, TValueType > &rIndexedMap) |
| virtual TIndexedMap< TKeyType, TValueType > & | operator= (const IMap< TKeyType, TValueType > &rMap) |
| virtual bool | operator== (const TIndexedMap< TKeyType, TValueType > &rIndexedMap) const |
| virtual bool | operator== (const IIndexedMap< TKeyType, TValueType > &rIndexedMap) const |
| virtual bool | operator== (const IMap< TKeyType, TValueType > &rMap) const |
| virtual bool | operator!= (const TIndexedMap< TKeyType, TValueType > &rIndexedMap) const |
| virtual bool | operator!= (const IIndexedMap< TKeyType, TValueType > &rIndexedMap) const |
| virtual bool | operator!= (const IMap< TKeyType, TValueType > &rMap) const |
Protected Member Functions | |
| virtual IMapIterator< TKeyType, TValueType > *MQUALIFIER | getIterator () |
This class implements a IndexedMap A IndexedMap implements a map and tow lists. One list for values and one list for the keys. The index of value and key pair are every time the same.
| zeus::TIndexedMap< TKeyType, TValueType >::TIndexedMap | ( | ) | [inline] |
Standard constructor
| zeus::TIndexedMap< TKeyType, TValueType >::TIndexedMap | ( | const TIndexedMap< TKeyType, TValueType > & | rMappedList ) | [inline] |
copy constructor
| zeus::TIndexedMap< TKeyType, TValueType >::TIndexedMap | ( | const IMap< TKeyType, TValueType > & | rMap ) | [inline] |
IMap constructor
| virtual zeus::TIndexedMap< TKeyType, TValueType >::~TIndexedMap | ( | ) | [inline, virtual] |
destructor
| virtual void MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::clear | ( | ) | [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual void MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::copyKeysToList | ( | IList< TKeyType > & | rList ) | const [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual void MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::copyToIndexedMap | ( | TIndexedMap< TKeyType, TValueType > & | rIndexedMap ) | const [inline, virtual] |
| virtual void MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::copyToMap | ( | IMap< TKeyType, TValueType > & | rMap ) | const [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual void MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::copyValuesToList | ( | IList< TValueType > & | rList ) | const [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual bool MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::deleteItem | ( | const TKeyType & | rKey ) | [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual bool MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::deleteItemByIndex | ( | Int | iIndex ) | [inline, virtual] |
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual bool MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::equals | ( | const IIndexedMap< TKeyType, TValueType > & | rIndexedMap ) | const [inline, virtual] |
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual bool zeus::TIndexedMap< TKeyType, TValueType >::equals | ( | const TIndexedMap< TKeyType, TValueType > & | rIndexedMap ) | const [inline, virtual] |
| virtual bool MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::equals | ( | const IMap< TKeyType, TValueType > & | rMap ) | const [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual const IMapIterator<TKeyType, TValueType>* MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getConstIterator | ( | ) | const [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual const IListIterator<TKeyType>* MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getConstKeyIterator | ( | ) | const [inline, virtual] |
returns the const iterator of the key list
| virtual const IListIterator<TValueType>* MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getConstValueIterator | ( | ) | const [inline, virtual] |
returns the const iterator of the value list
| virtual Int MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getCount | ( | ) | const [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual Int MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getIndexByKey | ( | const TKeyType & | rKey ) | [inline, virtual] |
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual const Int MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getIndexByKeyConst | ( | const TKeyType & | rKey ) | const [inline, virtual] |
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual TValueType& MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getItem | ( | const TKeyType & | rKey ) | [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual const TValueType& MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getItemConst | ( | const TKeyType & | rKey ) | const [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual IMapIterator<TKeyType, TValueType>* MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getIterator | ( | ) | [inline, protected, virtual] |
No external changes on members are allowed for update reasons. Hidden as protected, the implementation does not return an iterator.
Auf getIterator darf kein Iterator herausgegeben werden da sonst die internen Listen bei Veränderungen nicht nachgeführt werden.
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual TKeyType MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getKeyByIndex | ( | Int | iIndex ) | [inline, virtual] |
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual const TKeyType MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getKeyByIndexConst | ( | Int | iIndex ) | const [inline, virtual] |
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual const IMap<TKeyType, TValueType>& MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getMapConst | ( | ) | const [inline, virtual] |
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual TValueType& MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getOrCreateItem | ( | const TKeyType & | rKey ) | [inline, virtual] |
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual TValueType& MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getValueByIndex | ( | Int | iIndex ) | [inline, virtual] |
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual const TValueType& MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::getValueByIndexConst | ( | Int | iIndex ) | const [inline, virtual] |
Implements zeus::IIndexedMap< TKeyType, TValueType >.
| virtual bool MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::hasItem | ( | const TKeyType & | rKey ) | const [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual bool MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::isEmpty | ( | ) | const [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual bool zeus::TIndexedMap< TKeyType, TValueType >::operator!= | ( | const IMap< TKeyType, TValueType > & | rMap ) | const [inline, virtual] |
not equals operator
| virtual bool zeus::TIndexedMap< TKeyType, TValueType >::operator!= | ( | const TIndexedMap< TKeyType, TValueType > & | rIndexedMap ) | const [inline, virtual] |
not equals operator
| virtual bool zeus::TIndexedMap< TKeyType, TValueType >::operator!= | ( | const IIndexedMap< TKeyType, TValueType > & | rIndexedMap ) | const [inline, virtual] |
not equals operator
| virtual TIndexedMap<TKeyType, TValueType>& zeus::TIndexedMap< TKeyType, TValueType >::operator= | ( | const IMap< TKeyType, TValueType > & | rMap ) | [inline, virtual] |
Assigns the data of a indexedMap to this object
| rMap | : Map to assign |
| virtual TIndexedMap<TKeyType, TValueType>& zeus::TIndexedMap< TKeyType, TValueType >::operator= | ( | const TIndexedMap< TKeyType, TValueType > & | rIndexedMap ) | [inline, virtual] |
Assigns the data of a indexedMap to this object
| rIndexedMap | : indexedMap to assign |
| virtual bool zeus::TIndexedMap< TKeyType, TValueType >::operator== | ( | const IMap< TKeyType, TValueType > & | rMap ) | const [inline, virtual] |
equals operator
| virtual bool zeus::TIndexedMap< TKeyType, TValueType >::operator== | ( | const IIndexedMap< TKeyType, TValueType > & | rIndexedMap ) | const [inline, virtual] |
equals operator
| virtual bool zeus::TIndexedMap< TKeyType, TValueType >::operator== | ( | const TIndexedMap< TKeyType, TValueType > & | rIndexedMap ) | const [inline, virtual] |
equals operator
| virtual void MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::releaseIterator | ( | const IListIterator< TValueType > * | pIterator ) | const [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.
| virtual void MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::releaseKeyIterator | ( | const IListIterator< TKeyType > * | pIterator ) | const [inline, virtual] |
releases the key iterator
| virtual void MQUALIFIER zeus::TIndexedMap< TKeyType, TValueType >::setItem | ( | const TKeyType & | rKey, |
| const TValueType & | rValue | ||
| ) | [inline, virtual] |
Implements zeus::IMap< TKeyType, TValueType >.