Go to the documentation of this file.
60 return fatalCheck(operation);
66 const bool ok = !bad();
71 <<
"error in IOstream " << relativeName()
72 <<
" for operation " << operation
82 os <<
"IOstream: " <<
"Version " <<
version() <<
", format "
83 <<
format() <<
", line " << lineNumber();
121 if (streamState == ios_base::goodbit)
123 os <<
"ios_base::goodbit set : the last operation on stream succeeded"
126 else if (streamState & ios_base::badbit)
128 os <<
"ios_base::badbit set : characters possibly lost"
131 else if (streamState & ios_base::failbit)
133 os <<
"ios_base::failbit set : some type of formatting error"
136 else if (streamState & ios_base::eofbit)
138 os <<
"ios_base::eofbit set : at end of stream"
A helper class for outputting values to Ostream.
A class for handling file names.
virtual void print(Ostream &os) const
bool fatalCheck(const char *operation) const
Ostream & endl(Ostream &os)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
word format(conversionProperties.get< word >("format"))
virtual const fileName & name() const
static fileName envRelativePath(const fileName &input, const bool caseTag=false)
virtual bool check(const char *operation) const
OBJstream os(runTime.globalPath()/outputName)
fileName relativeName() const
static fileName staticName_
errorManipArg< error, int > exit(error &err, const int errNo=1)
const std::string version
word name(const expressions::valueTypeCode typeCode)
#define FatalIOErrorInFunction(ios)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...