A double array iterator.
More...
#include <double_array_iterator.hpp>
◆ double_array_iterator() [1/2]
tetengo::trie::double_array_iterator::double_array_iterator |
( |
| ) |
|
Creates an iterator.
It points to the last of the double array.
◆ double_array_iterator() [2/2]
tetengo::trie::double_array_iterator::double_array_iterator |
( |
const storage & |
storage_, |
|
|
std::size_t |
root_base_check_index |
|
) |
| |
Creates an iterator.
- Parameters
-
storage_ | A storage. |
root_base_check_index | A root base-check index. |
◆ operator*() [1/2]
std::int32_t & tetengo::trie::double_array_iterator::operator* |
( |
| ) |
|
Dereferences the iterator.
- Returns
- The dereferenced value.
◆ operator*() [2/2]
const std::int32_t & tetengo::trie::double_array_iterator::operator* |
( |
| ) |
const |
Dereferences the iterator.
- Returns
- The dereferenced value.
◆ operator++() [1/2]
Increments the iterator.
- Returns
- This iterator.
◆ operator++() [2/2]
Postincrements the iterator.
- Returns
- The iterator before the incrementation.
◆ operator->() [1/2]
std::int32_t * tetengo::trie::double_array_iterator::operator-> |
( |
| ) |
|
Returns the pointer to the value.
- Returns
- The pointer to the value.
◆ operator->() [2/2]
const std::int32_t * tetengo::trie::double_array_iterator::operator-> |
( |
| ) |
const |
Returns the pointer to the value.
- Returns
- The pointer to the value.
◆ operator==
Returns true when one iterator is equal to another.
- Parameters
-
one | One iterator. |
another | Another iterator. |
- Return values
-
true | When one is equal to another. |
false | Otherwise. |
The documentation for this class was generated from the following file: