![]() |
Project
|
#include <HashTable.h>
Public Types | |
using | source_type = source_T |
using | value_type = value_T |
using | container_type = absl::flat_hash_map< source_type, value_type > |
using | size_type = size_t |
using | difference_type = std::ptrdiff_t |
using | reference = value_type & |
using | const_reference = const value_type & |
using | pointer = value_type * |
using | const_pointer = const value_type * |
using | iterator = typename container_type::iterator |
using | const_iterator = typename container_type::const_iterator |
Public Member Functions | |
HashTable ()=default | |
HashTable (value_type nullElement) | |
HashTable (container_type container, value_type nullElement) | |
const_reference | getNullElement () const |
const_reference | operator[] (source_type sourceSymbol) const |
reference | operator[] (source_type sourceSymbol) |
const_iterator | find (source_type sourceSymbol) const |
size_type | size () const noexcept |
bool | empty () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
const_iterator | begin () const noexcept |
const_iterator | end () const noexcept |
iterator | begin () noexcept |
iterator | end () noexcept |
container_type | release () &&noexcept |
Protected Attributes | |
container_type | mContainer {} |
value_type | mNullElement {} |
Friends | |
void | swap (HashTable &a, HashTable &b) noexcept |
Definition at line 35 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::const_iterator = typename container_type::const_iterator |
Definition at line 48 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::const_pointer = const value_type* |
Definition at line 46 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::const_reference = const value_type& |
Definition at line 44 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::container_type = absl::flat_hash_map<source_type, value_type> |
Definition at line 40 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::difference_type = std::ptrdiff_t |
Definition at line 42 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::iterator = typename container_type::iterator |
Definition at line 47 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::pointer = value_type* |
Definition at line 45 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::reference = value_type& |
Definition at line 43 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::size_type = size_t |
Definition at line 41 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::source_type = source_T |
Definition at line 38 of file HashTable.h.
using o2::rans::internal::HashTable< source_T, value_T >::value_type = value_T |
Definition at line 39 of file HashTable.h.
|
default |
|
inline |
Definition at line 51 of file HashTable.h.
|
inline |
Definition at line 52 of file HashTable.h.
|
inlinenoexcept |
Definition at line 78 of file HashTable.h.
|
inlinenoexcept |
Definition at line 82 of file HashTable.h.
|
inlinenoexcept |
Definition at line 74 of file HashTable.h.
|
inlinenoexcept |
Definition at line 76 of file HashTable.h.
|
inlinenoexcept |
Definition at line 72 of file HashTable.h.
|
inlinenoexcept |
Definition at line 80 of file HashTable.h.
|
inlinenoexcept |
Definition at line 84 of file HashTable.h.
|
inline |
Definition at line 68 of file HashTable.h.
|
inline |
Definition at line 54 of file HashTable.h.
|
inline |
Definition at line 66 of file HashTable.h.
|
inline |
Definition at line 56 of file HashTable.h.
|
inlinenoexcept |
Definition at line 86 of file HashTable.h.
|
inlinenoexcept |
Definition at line 70 of file HashTable.h.
|
friend |
Definition at line 88 of file HashTable.h.
|
protected |
Definition at line 96 of file HashTable.h.
|
protected |
Definition at line 97 of file HashTable.h.