40 <<
"No stream open for write" <<
nl 48 <<
" version " << os.
version() <<
";\n" 49 <<
" format " << os.
format() <<
";\n" 50 <<
" class " << type <<
";\n";
54 os <<
" note " <<
note() <<
";\n";
58 <<
" object " <<
name() <<
";\n" streamFormat format() const
Return current stream format.
static Stream & writeBanner(Stream &os, bool noHint=false)
Write the standard OpenFOAM file/dictionary banner.
const objectRegistry & db() const
Return the local objectRegistry.
InfoProxy< IOstream > info() const
Return info proxy.
static Stream & writeDivider(Stream &os)
Write the standard file section divider.
bool good() const
Return true if next operation might succeed.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool writeHeader(Ostream &) const
Write header.
string & note()
Return non-constant access to the optional note.
A class for handling words, derived from string.
const fileName & local() const
versionNumber version() const
Return the stream version.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
virtual const fileName & dbDir() const
Local directory path of this objectRegistry relative to the time.
const fileName & instance() const
const word & name() const
Return name.
#define InfoInFunction
Report an information message using Foam::Info.