Go to the documentation of this file.
49 <<
"Bad token - could not get string"
63 <<
"Wrong token type - expected string, found "
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
A class for handling file names.
const string & stringToken() const
Return const reference to the string contents.
Istream & operator>>(Istream &, directionInfo &)
A token holds an item read from Istream.
A class for handling character strings derived from std::string.
bool good() const
True if token is not UNDEFINED or ERROR.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
InfoProxy< token > info() const
Return info proxy for printing token information to a stream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual bool check(const char *operation) const
Check IOstream status for given operation.
fileName()=default
Construct null.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void stripInvalid()
Strip invalid characters.
void setBad()
Set stream to be bad.
#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,...
bool isStringType() const
Token is WORD, DIRECTIVE, STRING, VARIABLE or VERBATIM.