Go to the documentation of this file.
36 #ifndef hashedWordList_H
37 #define hashedWordList_H
50 Istream&
operator>>(Istream&, hashedWordList&);
51 Ostream&
operator<<(Ostream&,
const hashedWordList&);
A class for handling words, derived from string.
const word & operator[](const label index) const
Return name corresponding to specified index.
void operator=(const UList< word > &names)
Assignment operator from list of names.
A simple container for copying or transferring objects of type <T>.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A wordList with hashed indices for faster lookup by name.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void transfer(List< word > &)
Transfer the contents of the argument List into this list.
Ostream & operator<<(Ostream &, const edgeMesh &)
friend Ostream & operator<<(Ostream &, const hashedWordList &)
An STL-conforming hash table.
void rehash()
Rebuild the hash of indices.
void append(const word &)
Append an element at the end of the list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
friend Istream & operator>>(Istream &, hashedWordList &)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Istream & operator>>(Istream &, edgeMesh &)
void clear()
Clear the list, i.e. set size to zero.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
HashTable< label, word > indices_
hashedWordList()
Construct null.
bool contains(const word &) const
Does the list contain the specified name.