#include <hybridmap.h>
Public Types | |
| using | SmallIterator = typename std::conditional< CONSTITERATOR, typename SmallType::ConstIterator, typename SmallType::Iterator >::type |
| using | LargeIterator = typename std::conditional< CONSTITERATOR, typename LargeType::ConstIterator, typename LargeType::Iterator >::type |
| using | CollectionType = typename ConstIf< HybridMap, CONSTITERATOR >::type |
Public Member Functions | |
| IteratorBase () | |
| IteratorBase (const SmallIterator &src) | |
| IteratorBase (const LargeIterator &src) | |
| IteratorBase (const IteratorBase &src) | |
| IteratorBase (CollectionType &m, Int s) | |
| ~IteratorBase () | |
| void | operator++ () |
| void | operator-- () |
| operator Bool () const | |
| const K & | GetKey () const |
| ConstIf< V, CONSTITERATOR >::type & | GetValue () const |
| Bool | operator== (const IteratorBase &b) const |
| Bool | operator!= (const IteratorBase &b) const |
Protected Member Functions | |
| SmallIterator & | GetSmall () |
| LargeIterator & | GetLarge () |
| const SmallIterator & | GetSmall () const |
| const LargeIterator & | GetLarge () const |
Protected Attributes | |
| Bool | _small |
| std::aligned_union2< 0, SmallIterator, LargeIterator >::type | _union [1] |
Friends | |
| class | HybridMap |
| using SmallIterator = typename std::conditional<CONSTITERATOR, typename SmallType::ConstIterator, typename SmallType::Iterator>::type |
| using LargeIterator = typename std::conditional<CONSTITERATOR, typename LargeType::ConstIterator, typename LargeType::Iterator>::type |
| using CollectionType = typename ConstIf<HybridMap, CONSTITERATOR>::type |
| IteratorBase | ( | ) |
|
explicit |
|
explicit |
| IteratorBase | ( | const IteratorBase< CONSTITERATOR > & | src | ) |
| IteratorBase | ( | CollectionType & | m, |
| Int | s | ||
| ) |
| ~IteratorBase | ( | ) |
| void operator++ | ( | ) |
| void operator-- | ( | ) |
|
explicit |
| const K& GetKey | ( | ) | const |
Returns the key of the current key-value-pair of this iterator.
| ConstIf<V, CONSTITERATOR>::type& GetValue | ( | ) | const |
Returns the value of the current key-value-pair of this iterator.
| Bool operator== | ( | const IteratorBase< CONSTITERATOR > & | b | ) | const |
| Bool operator!= | ( | const IteratorBase< CONSTITERATOR > & | b | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
friend |
|
protected |
|
protected |