30 void Foam::hashedWordList::rehash()
67 indices_(move(names.indices_))
103 for (
unsigned i = 0; names[i] && *(names[i]); ++i)
135 const label idx = size();
137 indices_.insert(
name, idx);
161 os << static_cast<const List<word>&>(lst);
#define forAll(list, i)
Loop across all elements in list.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void transfer(List< T > &)
Transfer the contents of the argument List into this list.
void append(const T &)
Append an element at the end of the list.
void clear()
Clear the list, i.e. set size to zero.
void setSize(const label)
Reset size of List.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
T & operator[](const label)
Return element of UList.
friend Ostream & operator(Ostream &, const UList< T > &)
A wordList with hashed indices for faster lookup by name.
void append(const word &)
Append an element at the end of the list.
void transfer(List< word > &)
Transfer the contents of the argument List into this list.
hashedWordList()
Construct null.
void clear()
Clear the list, i.e. set size to zero.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)