#include <index.h>
◆ Container
◆ Hash_unique()
◆ begin()
Cursor temptable::Hash_unique::begin |
( |
| ) |
const |
|
overridevirtual |
Get a cursor to the first entry.
- Returns
- cursor to the first indexed cells in index order
Implements temptable::Index.
◆ end()
Cursor temptable::Hash_unique::end |
( |
| ) |
const |
|
overridevirtual |
Get a cursor after the last entry.
- Returns
- a cursor after the last indexed cells in index order
Implements temptable::Index.
◆ erase()
void temptable::Hash_unique::erase |
( |
const Cursor & |
target | ) |
|
|
overridevirtual |
Erase the indexed cells pointer to by a cursor.
- Parameters
-
[in] | target | Position to erase. |
Implements temptable::Index.
◆ insert()
Insert a new entry into the index.
- Returns
- Result::OK or another Result::* error code
- Parameters
-
[in] | indexed_cells | Indexed cells to insert. |
[out] | insert_position | If insert succeeds (Result::OK) this will be set to the position inside the index where the new indexed cells where inserted. |
Implements temptable::Index.
◆ lookup() [1/2]
Lookup (search) an indexed cells.
- Return values
-
Lookup::FOUND | the provided search_cells were found and first was positioned on them (the first entry, if there are duplicates). |
Lookup::NOT_FOUND_CURSOR_POSITIONED_ON_NEXT | the provided search_cells were not found and first was positioned on the next indexed cells in index order. |
Lookup::NOT_FOUND_CURSOR_UNDEFINED | the provided search_cells were not found and first is undefined. |
- Parameters
-
[in] | search_cells | Indexed cells to search for. |
[out] | first | First indexed cells that were found, see above. |
Implements temptable::Index.
◆ lookup() [2/2]
Lookup (search) an indexed cells.
- Return values
-
Lookup::FOUND | the provided search_cells were found, first was positioned on them (the first entry, if there are duplicates) and after_last was positioned after the last matching entry. |
Lookup::NOT_FOUND_CURSOR_POSITIONED_ON_NEXT | the provided search_cells were not found and first and after_last were positioned on the next indexed cells in index order. |
Lookup::NOT_FOUND_CURSOR_UNDEFINED | the provided search_cells were not found and first and after_last are undefined. |
Implements temptable::Index.
◆ truncate()
void temptable::Hash_unique::truncate |
( |
| ) |
|
|
overridevirtual |
◆ m_hash_table
Container temptable::Hash_unique::m_hash_table |
The documentation for this class was generated from the following files: