41 Foam::coordinateSystems::coordinateSystems(
const IOobject& io)
47 Foam::coordinateSystems::coordinateSystems
57 Foam::coordinateSystems::coordinateSystems
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.
const Time & time() const
Return time.
A class for handling keywords in dictionaries.
A simple container for copying or transferring objects of type <T>.
#define forAll(list, i)
Loop across all elements in list.
wordList toc() const
Return the table of contents (list of all keywords)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool foundObject(const word &name) const
Is the named Type found?
bool empty() const
Return true if the UList is empty (ie, size() is zero)
Provides a centralized coordinateSystem collection.
bool good() const
Return true if next operation might succeed.
Operations on lists of strings.
bool found(const keyType &key) const
Search for given key.
bool writeData(Ostream &) const
Write data.
bool findStrings(const wordReListMatcher &matcher, const std::string &str)
Return true if string matches one of the regular expressions.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
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...
defineTypeNameAndDebug(combustionModel, 0)
static const coordinateSystems & New(const objectRegistry &)
Return previously registered or read construct from "constant".
const T & operator[](const label) const
Return element const reference.
void setSize(const label)
Reset size of List.
A PtrList of objects of type <T> with automated input and output.
label findIndex(const keyType &key) const
Find and return index for the first match, return -1 if not found.
labelList findIndices(const keyType &key) const
Find and return indices for all matches.
Registry of regIOobjects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.
bool isPattern() const
Should be treated as a match rather than a literal string.
label size() const
Return the number of elements in the UPtrList.