40 bool baseIOdictionary::writeDictionaries
98 <<
"--- baseIOdictionary " <<
name()
99 <<
' ' << objectPath() <<
":" <<
nl;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
fileName objectPath() const
The complete path + object name.
bool good() const noexcept
True if next operation might succeed.
bool bad() const noexcept
True if stream is corrupted.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
baseIOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO function...
virtual bool writeData(Ostream &) const
The writeData function required by regIOobject write operation.
void operator=(const baseIOdictionary &rhs)
Copy assignment of dictionary entries (leave regIOobject untouched)
virtual bool readData(Istream &)
The readData function required by regIOobject read operation.
const word & name() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const fileName & name() const noexcept
The dictionary name.
void operator=(const dictionary &rhs)
Copy assignment.
virtual bool write()
Write the output fields.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
splitCell * master() const
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
int infoSwitch(const char *name, const int deflt=0)
Lookup info switch or add default value.
static void writeHeader(Ostream &os, const word &fieldName)
OSstream Sout
OSstream wrapped stdout (std::cout)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
static void writeData(Ostream &os, const Type &val)
constexpr char nl
The newline '\n' character (0x0a)