43 #ifndef expressions_exprResultGlobals_H 44 #define expressions_exprResultGlobals_H 111 Table& getOrCreateScope(
const word& scope)
113 return variables_(scope);
155 const bool overwrite =
true 164 const bool overwrite =
true 176 const word& scope =
"",
177 const bool overwrite =
true
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Table & getNamespace(const word &name)
Get an existing table for the namespace.
A polymorphic field/result from evaluating an expression.
const word & name() const noexcept
Return the object name.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A globally available registry of expression results. These are currently registered on Time (may chan...
virtual bool writeData(Ostream &os) const
Write variables.
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers...
Table()=default
Default construct.
virtual ~exprResultGlobals()=default
Destructor.
A class for handling words, derived from Foam::string.
static bool Delete(const objectRegistry &obr)
Static destructor for singleton.
exprResult & addValue(const word &name, const word &scope, const exprResult &value, const bool overwrite=true)
Add named result to specified scope.
A HashTable similar to std::unordered_map.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual bool readData(Istream &os)
Read variables.
bool removeValue(const word &name, const word &scope)
Remove named result from specified scope.
OBJstream os(runTime.globalPath()/outputName)
TypeNameNoDebug("exprResultGlobals")
Runtime type information.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Registry of regIOobjects.
static exprResultGlobals & New(const objectRegistry &obr)
Static constructor for singleton.