Go to the documentation of this file.
61 #ifndef coordinateSystems_H
62 #define coordinateSystems_H
81 public PtrList<coordinateSystem>
86 void readFromStream(
const bool valid =
true);
185 const bool valid =
true
Defines the attributes of an object for which implicit objectRegistry management is supported,...
label findIndex(const keyType &key) const
Find and return index for the first match, return -1 if not found.
const word & name() const
Return name.
A class for handling words, derived from Foam::string.
labelList indices(const keyType &key) const
Find and return indices for all matches.
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
const coordinateSystem * lookupPtr(const word &name) const
Return pointer to named coordinateSystem or nullptr on error.
const coordinateSystem & lookup(const word &name) const
Return reference to named coordinateSystem or FatalErrror.
TypeNameNoDebug("coordinateSystems")
Runtime type information.
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.
Representation of a major/minor version number.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
bool writeData(Ostream &os) const
Write data.
streamFormat
Data format (ascii | binary)
A centralized collection of named coordinate systems.
labelList findIndices(const keyType &key) const
Identical to the indices() method (AUG-2018)
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
wordList toc() const
Identical to names()
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber ver, IOstream::compressionType, const bool valid=true) const
Write data.
wordList names() const
A list of the coordinate-system names.
A List of wordRe with additional matching capabilities.
compressionType
Compression treatment (UNCOMPRESSED | COMPRESSED)
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".
bool found(const keyType &key) const
Search if given key exists.
Base class for coordinate system specification, the default coordinate system type is cartesian .