#include <bursttriemap.h>
◆ NonConstIteratorBase() [1/2]
◆ NonConstIteratorBase() [2/2]
◆ GetValue()
Returns the value of the current key-value-pair of this iterator.
- Returns
- Current value of this iterator.
◆ Erase()
Removes eraseCnt
elements from the map starting at the position given by this iterator. Afterwards, this iterator will point to the element behind the last removed element.
- Parameters
-
[in] | map | Map of this iterator. |
[in] | eraseCnt | Number of elements to remove. |
- Returns
- False if some allocation failed (for a BurstTrieMap, this is impossible, so this function will always return true).
◆ ChangeKey()
Modifies the key of the map entry pointed to by this iterator. The new key must be in a range such that this operation doesn't change the order, i.e., it must be above the key of the previous entry and below the key of the next entry.
This function is not supported when the sorting mode is BURSTTRIE_SORT::NONE.
- Parameters
-
[in] | map | Map of this iterator. |
[in] | newKey | New value for the key of the current map entry. |
- Returns
- False if some allocation failed.