Indexed map iterator template class.
#include <QtxMap.h>
Public Member Functions | |
| IMapIterator () | |
| IMapIterator (const IMap< Key, Value > *m) | |
| IMapIterator (const IMapIterator &i) | |
| bool | operator== (const IMapIterator &i) |
| bool | operator!= (const IMapIterator &i) |
| operator bool () const | |
| const Key & | key () const |
| Value & | value () |
| const Value & | value () const |
| Value & | operator* () |
| IMapIterator & | operator++ () |
| IMapIterator | operator++ (int) |
| IMapIterator & | operator-- () |
| IMapIterator | operator-- (int) |
Private Member Functions | |
| IMapIterator (const IMap< Key, Value > *m, const int index) | |
| void | init () |
Private Attributes | |
| IMap< Key, Value > * | myMap |
| int | myIndex |
Friends | |
| class | IMap< Key, Value > |
| class | IMapConstIterator< Key, Value > |
| IMapIterator< Key, Value >.IMapIterator | ( | ) |
References IMapIterator< Key, Value >.init().
| IMapIterator< Key, Value >.IMapIterator | ( | const IMap< Key, Value > * | m | ) |
References IMapIterator< Key, Value >.init().
| IMapIterator< Key, Value >.IMapIterator | ( | const IMapIterator< Key, Value > & | i | ) |
References IMapIterator< Key, Value >.init().
| IMapIterator< Key, Value >.IMapIterator | ( | const IMap< Key, Value > * | m, |
| const int | index | ||
| ) | [private] |
References IMapIterator< Key, Value >.init().
| bool IMapIterator< Key, Value >.operator== | ( | const IMapIterator< Key, Value > & | i | ) |
References IMapIterator< Key, Value >.operator!=().
| bool IMapIterator< Key, Value >.operator!= | ( | const IMapIterator< Key, Value > & | i | ) |
References IMapIterator< Key, Value >.myIndex, and IMapIterator< Key, Value >.myMap.
| IMapIterator< Key, Value >.operator bool | ( | ) | const |
References IMapIterator< Key, Value >.myIndex.
| const Key& IMapIterator< Key, Value >.key | ( | ) | const |
References IMapIterator< Key, Value >.myIndex, and IMapIterator< Key, Value >.myMap.
| Value& IMapIterator< Key, Value >.value | ( | ) |
References IMapIterator< Key, Value >.myIndex, and IMapIterator< Key, Value >.myMap.
| const Value& IMapIterator< Key, Value >.value | ( | ) | const |
References IMapIterator< Key, Value >.myIndex, and IMapIterator< Key, Value >.myMap.
| Value& IMapIterator< Key, Value >.operator* | ( | ) |
References IMapIterator< Key, Value >.value().
| IMapIterator& IMapIterator< Key, Value >.operator++ | ( | ) |
References IMapIterator< Key, Value >.init(), and IMapIterator< Key, Value >.myIndex.
| IMapIterator IMapIterator< Key, Value >.operator++ | ( | int | ) |
References IMapIterator< Key, Value >.init(), and IMapIterator< Key, Value >.myIndex.
| IMapIterator& IMapIterator< Key, Value >.operator-- | ( | ) |
References IMapIterator< Key, Value >.init(), and IMapIterator< Key, Value >.myIndex.
| IMapIterator IMapIterator< Key, Value >.operator-- | ( | int | ) |
References IMapIterator< Key, Value >.init(), and IMapIterator< Key, Value >.myIndex.
| void IMapIterator< Key, Value >.init | ( | ) | [private] |
References IMapIterator< Key, Value >.myIndex, and IMapIterator< Key, Value >.myMap.
friend class IMap< Key, Value > [friend] |
friend class IMapConstIterator< Key, Value > [friend] |
IMap<Key,Value>* IMapIterator< Key, Value >.myMap [private] |
int IMapIterator< Key, Value >.myIndex [private] |