Go to the documentation of this file.
120 if (key ==
operator[](i).
name())
122 indices[nFound++] = i;
138 if (!indices.empty())
147 if (key ==
operator[](i).
name())
170 keywords[i] = operator[](i).name();
184 operator[](i).writeDict(os,
true);
label find(const keyType &key) const
Find and return index for the first match, returns -1 if not found.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
label findIndex(const keyType &key) const
Find and return index for the first match, return -1 if not found.
coordinateSystems(const coordinateSystems &)
Disallow default bitwise copy construct.
A PtrList of objects of type <T> with automated input and output.
#define forAll(list, i)
Loop across all elements in list.
label findIndex(const ListType &, typename ListType::const_reference, const label start=0)
Find first occurence of given element and return index,.
bool isPattern() const
Should be treated as a match rather than a literal string.
const Time & time() const
Return time.
wordList toc() const
Return the table of contents (list of all keywords)
A simple container for copying or transferring objects of type <T>.
Registry of regIOobjects.
A class for handling keywords in dictionaries.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Provides a centralized coordinateSystem collection.
void setSize(const label)
Reset size of List.
bool findStrings(const wordReListMatcher &matcher, const std::string &str)
Return true if string matches one of the regular expressions.
bool foundObject(const word &name) const
Is the named Type found?
void store()
Transfer ownership of this object to its registry.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const word & constant() const
Return constant name.
bool writeData(Ostream &) const
Write data.
Operations on lists of strings.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool good() const
Return true if next operation might succeed.
static const coordinateSystems & New(const objectRegistry &)
Return previously registered or read construct from "constant".
defineTemplateTypeNameAndDebug(IOPtrList< ensightPart >, 0)
defineTypeNameAndDebug(combustionModel, 0)
labelList findIndices(const ListType &, typename ListType::const_reference, const label start=0)
Find all occurences of given element. Linear search.
bool found(const keyType &key) const
Search for given key.
labelList findIndices(const keyType &key) const
Find and return indices for all matches.
word name(const complex &)
Return a string representation of a complex.
Base class for other coordinate system specifications.