Go to the documentation of this file.
47 #ifndef functionObjects_properties_H
48 #define functionObjects_properties_H
56 namespace functionObjects
70 static const word resultsName_;
116 const word& objectName,
117 const word& entryName
133 bool setTrigger(
const label triggeri,
bool increaseOnly =
true);
138 const word& objectName,
139 const word& entryName,
147 const word& objectName,
148 const word& entryName,
149 const Type& defaultValue = Type(
Zero)
156 const word& objectName,
157 const word& entryName,
165 const word& objectName,
166 const word& entryName,
177 const word& objectName,
178 const word& entryName,
186 const word& objectName,
187 const word& entryName,
188 const Type& defaultValue = Type(
Zero)
195 const word& objectName,
196 const word& entryName,
210 const word& objectName,
211 const word& entryName
217 const word& objectName,
218 const word& entryName
Type getObjectProperty(const word &objectName, const word &entryName, const Type &defaultValue=Type(Zero)) const
bool hasObjectDict(const word &objectName) const
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
dictionary & propertyDict(const word &objectName)
void operator=(const properties &)=delete
dictionary & getObjectDict(const word &objectName)
bool hasResultObject(const word &objectName) const
bool foundObjectProperty(const word &objectName, const word &entryName) const
word objectResultType(const word &objectName, const word &entryName) const
Type getObjectResult(const word &objectName, const word &entryName, const Type &defaultValue=Type(Zero)) const
void setObjectProperty(const word &objectName, const word &entryName, const Type &value)
properties(const properties &)=delete
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
bool setTrigger(const label triggeri, bool increaseOnly=true)
virtual ~properties()=default
wordList objectResultNames() const
wordList objectNames() const
Storage for function object properties, derived from IOdictionary. Provides functionality to read/wri...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void writeAllResultEntries(Ostream &os) const
bool hasResultObjectEntry(const word &objectName, const word &entryName) const
void writeResultEntries(Ostream &os) const
void setObjectResult(const word &objectName, const word &entryName, const Type &value)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
wordList objectResultEntries(const word &objectName) const