Go to the documentation of this file.
36 #ifndef HashPtrTable_H
37 #define HashPtrTable_H
51 template<
class T,
class Key,
class Hash>
class HashPtrTable;
53 template<
class T,
class Key,
class Hash>
56 template<
class T,
class Key,
class Hash>
64 template<
class T,
class Key=word,
class Hash=
string::hash>
141 friend Ostream& operator<< <T, Key, Hash>
An STL-conforming iterator.
~HashPtrTable()
Destructor.
HashPtrTable(const label size=128)
Construct given initial table size.
An STL-conforming const_iterator.
HashTable< T *, Key, Hash >::const_iterator const_iterator
A helper class when constructing from an Istream or dictionary.
void clear()
Clear all entries from table.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void read(Istream &, const INew &inewt)
Read from Istream using given Istream constructor class.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
T * remove(iterator &)
Remove and return the pointer specified by given iterator.
Ostream & operator<<(Ostream &, const edgeMesh &)
void write(Ostream &os) const
Write.
A list of keyword definitions, which are a keyword followed by any number of values (e....
An STL-conforming hash table.
HashTable< T *, Key, Hash >::iterator iterator
A HashTable specialization for hashing pointers.
bool erase(iterator &)
Erase an hashedEntry specified by given iterator.
void operator=(const HashPtrTable< T, Key, Hash > &)
Istream & operator>>(Istream &, edgeMesh &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...