ArrayMap< K, V, SORTED, COMPARE, ARRAY >::EntryIteratorBase< CONSTITERATOR > Class Template Reference
#include <arraymap.h>
Public Types |
|
| using | Super = typename std::conditional< CONSTITERATOR, IteratorBase , NonConstIteratorBase >::type |
| using | CollectionType = typename ConstIf < ArrayMap , CONSTITERATOR >::type |
| using | KeyType = K |
| using | MappedType = typename ConstIf < V, CONSTITERATOR >::type |
公共成员函数 |
|
| EntryIteratorBase () | |
| EntryIteratorBase ( CollectionType &m, Int s) | |
| EntryIteratorBase (const EntryIteratorBase & src ) | |
| const K & | GetKey () const |
| MappedType & | GetValue () const |
| using Super = typename std::conditional<CONSTITERATOR, IteratorBase , NonConstIteratorBase >::type |
| using CollectionType = typename ConstIf < ArrayMap , CONSTITERATOR>::type |
| using KeyType = K |
| using MappedType = typename ConstIf <V, CONSTITERATOR>::type |
| EntryIteratorBase | ( | ) |
| EntryIteratorBase | ( | CollectionType & | m , |
| Int | s | ||
| ) |
| EntryIteratorBase | ( | const EntryIteratorBase < CONSTITERATOR > & | src | ) |
| const K& GetKey | ( | ) | const |
Returns the key of the current key-value-pair of this iterator.
| MappedType & GetValue | ( | ) | const |
Returns the value of the current key-value-pair of this iterator.