44 <<
" stream not open for reading essential object from file " 52 <<
" stream not open for reading from file " 72 headerClassName_ =
word(headerDict.
lookup(
"class"));
74 const word headerObject(headerDict.
lookup(
"object"));
75 if (IOobject::debug && headerObject !=
name())
78 <<
" object renamed from " 79 <<
name() <<
" to " << headerObject
80 <<
" for file " << is.
name() <<
endl;
89 <<
"First token could not be read or is not the keyword 'FoamFile'" 90 <<
nl <<
nl <<
"Check header is of the form:" <<
nl <<
endl;
107 <<
" stream failure while reading header" 109 <<
" of file " << is.
name()
110 <<
" for essential object" <<
name()
117 <<
"Stream failure while reading header" 119 <<
" of file " << is.
name() <<
endl;
streamFormat format() const
Return current stream format.
#define SeriousIOErrorInFunction(ios)
Report an IO error message using Foam::SeriousError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds items read from Istream.
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.
bool readHeader(Istream &)
Read header.
A class for handling words, derived from string.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
versionNumber version() const
Return the stream version.
virtual const fileName & name() const
Return the name of the stream.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
label lineNumber() const
Return current stream line number.
const word & wordToken() const
#define IOWarningInFunction(ios)
Report an IO warning using Foam::Warning.
const word & name() const
Return name.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
#define InfoInFunction
Report an information message using Foam::Info.