BurstTrieMap< K, V, GROUP_BITS, BUCKET_SIZE, SORT, POOL >::IteratorBase Class Reference
#include <bursttriemap.h>
公共成员函数 |
|
| IteratorBase () | |
| IteratorBase (const BurstTrieMap *m, Int s) | |
| IteratorBase (const IteratorBase & src ) | |
| operator Bool () const | |
| const K & | GetKey () const |
| const V & | GetValue () const |
| Bool | operator== (const IteratorBase &b) const |
| Bool | operator< (const IteratorBase &b) const |
| MAXON_OPERATOR_COMPARISON ( IteratorBase ) | |
Protected Member Functions |
|
| void | MoveToNext ( Bool init) |
| void | MoveToPrev () |
Protected Attributes |
|
| BurstTrieMap * | _map |
| Int | _rootIndex |
| Int | _bucketIndex |
| Int | _top |
| Bucket * | _bucket |
| 节点 * | _path [ MAX_LEN ] |
| Int32 | _index [ MAX_LEN ] |
Friends |
|
| class | BurstTrieMap |
| IteratorBase | ( | ) |
| IteratorBase | ( | const BurstTrieMap * | m , |
| Int | s | ||
| ) |
| IteratorBase | ( | const IteratorBase & | src | ) |
|
explicit |
| const K& GetKey | ( | ) | const |
Returns the key of the current key-value-pair of this iterator.
| const V& GetValue | ( | ) | const |
Returns the value of the current key-value-pair of this iterator.
| Bool operator== | ( | const IteratorBase & | b | ) | const |
| Bool operator< | ( | const IteratorBase & | b | ) | const |
| MAXON_OPERATOR_COMPARISON | ( | IteratorBase | ) |
|
protected |
|
protected |
|
friend |
|
protected |
Map of this iterator.
|
protected |
Current index in the map's _roots array.
|
protected |
Current index in the bucket.
|
protected |
Last valid index into the _path/_index-arrays.
|
protected |
Current bucket.
|
protected |
Current path from the root to _bucket.
|
protected |
Used child indices along the path.