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