86 explicit Map(
const label initialCapacity)
113 std::initializer_list<std::pair<label, T>> map,
114 const bool overwrite =
false 126 const bool overwrite =
false HashTable< T, label, Hash< label > > parent_type
The template instance used for the parent HashTable.
Forward iterator with const access.
typename parent_type::const_iterator const_iterator
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
friend Ostream & operator(Ostream &, const HashTable< T, label, Hash< label > > &tbl)
Map() noexcept=default
Default construct: empty without allocation (capacity=0)
Map< T > this_type
The template instance used for this Map.
Forward iterator with non-const access.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
List of values from HashTable, optionally sorted.
void operator=(const this_type &rhs)
Copy assign.
typename parent_type::iterator iterator
A HashTable similar to std::unordered_map.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
const_iterator_pair< const_key_iterator, this_type > keys() const
A const iterator begin/end pair for iterating over keys.
void operator=(const this_type &rhs)
Copy assignment.
A HashTable to objects of type <T> with a label key.