35 void Foam::hashedWordList::rehash()
72 indices_(move(names.indices_))
108 for (
unsigned i = 0; names[i] && *(names[i]); ++i)
140 const label idx = size();
142 indices_.insert(
name, idx);
166 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.
A wordList with hashed indices for faster lookup by name.
static const hashedWordList null
An empty hashedWordList.
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.
Motion of the mesh specified as a list of pointMeshMovers.
A class for handling words, derived from string.
Istream & operator>>(Istream &, pointEdgeDist &)
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 LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)