73 <<
"Wrong token type - expected string, found " 79 <<
"Bad token - could not get fileName";
bool isWord() const noexcept
Token is word-variant (WORD, DIRECTIVE)
errorManipArg< error, int > exit(error &err, const int errNo=1)
const word & wordToken() const
Return const reference to the word contents.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds an item read from Istream.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
bool assign(const token &tok)
Assign from word or string token.
fileName()=default
Default construct.
Istream & operator>>(Istream &, directionInfo &)
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void assign(Field< Tout > &result, const Field< T1 > &a, const UnaryOp &op)
Populate a field as the result of a unary operation on an input.
const string & stringToken() const
Return const reference to the string contents.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
bool isQuotedString() const noexcept
Token is (quoted) STRING (string variant)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...