Go to the documentation of this file.
56 <<
"error in IOstream " <<
name() <<
" for operation " << operation
69 <<
"error in IOstream " <<
name() <<
" for operation " << operation
77 os <<
"IOstream: " <<
"Version " <<
version() <<
", format "
78 <<
format() <<
", line " << lineNumber();
116 if (streamState == ios_base::goodbit)
118 os <<
"ios_base::goodbit set : the last operation on stream succeeded"
121 else if (streamState & ios_base::badbit)
123 os <<
"ios_base::badbit set : characters possibly lost"
126 else if (streamState & ios_base::failbit)
128 os <<
"ios_base::failbit set : some type of formatting error"
131 else if (streamState & ios_base::eofbit)
133 os <<
"ios_base::eofbit set : at end of stream"
void fatalCheck(const char *operation) const
Check IOstream status for given operation.
A helper class for outputting values to Ostream.
A class for handling file names.
virtual void print(Ostream &os) const
Print description of IOstream to Ostream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word format(conversionProperties.get< word >("format"))
word name(const complex &c)
Return string representation of complex.
virtual const fileName & name() const
Return the name of the stream.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
static fileName staticName_
Name for any generic stream - normally treat as readonly.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const std::string version
OpenFOAM version (name or stringified number) as a std::string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & operator<<(Ostream &, const boundaryPatch &)