Go to the documentation of this file.
62 #ifndef coordinateSystems_H
63 #define coordinateSystems_H
82 public PtrList<coordinateSystem>
87 void readFromStream(
const bool valid =
true);
185 const bool valid =
true
204 return this->
cfind(name);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
labelList findIndices(const wordRe &key) const
Identical to the indices() method (AUG-2018)
bool found(const wordRe &key) const
Search if given key exists.
A class for handling words, derived from Foam::string.
labelList indices(const wordRe &key) const
Find and return indices for all matches.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
const coordinateSystem & lookup(const word &name) const
Return reference to named coordinateSystem or FatalErrror.
TypeNameNoDebug("coordinateSystems")
Declare type-name, virtual type (without debug switch)
Registry of regIOobjects.
The IOstreamOption is a simple container for options an IOstream can normally have.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
bool writeData(Ostream &os) const
Write data.
A centralized collection of named coordinate systems.
OBJstream os(runTime.globalPath()/outputName)
virtual bool writeObject(IOstreamOption streamOpt, const bool valid=true) const
Write using stream options.
const coordinateSystem * lookupPtr(const word &name) const
Deprecated(2020-03) find named coordinateSystem or nullptr.
const word & name() const noexcept
Return name.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
wordList toc() const
Identical to names()
wordList names() const
A list of the coordinate-system names.
A List of wordRe with additional matching capabilities.
class FOAM_DEPRECATED_FOR(2017-05, "Foam::Enum") NamedEnum
const coordinateSystem * cfind(const word &name) const
Return pointer to named coordinateSystem or nullptr on error.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static const coordinateSystems & New(const objectRegistry &obr)
Return previously registered or read construct from "constant".
Base class for coordinate system specification, the default coordinate system type is cartesian .
label findIndex(const wordRe &key) const
Find and return index for the first match, return -1 if not found.