114 if (key ==
operator[](i).
name())
116 indices[nFound++] = i;
132 if (!indices.
empty())
141 if (key ==
operator[](i).
name())
Base class for other coordinate system specifications.
A class for handling keywords in dictionaries.
#define forAll(list, i)
Loop across all elements in list.
bool empty() const
Return true if the UList is empty (ie, size() is zero)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return name.
Provides a centralized coordinateSystem collection.
coordinateSystems(const IOobject &)
Read construct from IOobject.
const T & operator[](const label) const
Return element const reference.
bool foundObject(const word &name) const
Is the named Type found?
Operations on lists of strings.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
labelList findIndices(const keyType &key) const
Find and return indices for all matches.
bool good() const
Return true if next operation might succeed.
bool findStrings(const wordReListMatcher &matcher, const std::string &str)
Return true if string matches one of the regular expressions.
bool found(const keyType &key) const
Search for given key.
label findIndex(const keyType &key) const
Find and return index for the first match, return -1 if not found.
const word & constant() const
Return constant name.
defineTemplateTypeNameAndDebug(IOPtrList< ensightPart >, 0)
void store()
Transfer ownership of this object to its registry.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
wordList toc() const
Return the table of contents (list of all keywords)
const Time & time() const
Return time.
defineTypeNameAndDebug(combustionModel, 0)
static const coordinateSystems & New(const objectRegistry &)
Return previously registered or read construct from "constant".
label size() const
Return the number of elements in the UPtrList.
void setSize(const label)
Reset size of List.
A PtrList of objects of type <T> with automated input and output.
Registry of regIOobjects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
bool isPattern() const
Should be treated as a match rather than a literal string.
bool writeData(Ostream &) const
Write data.