Go to the documentation of this file.
73 <<
"Wrong token type - expected string, found "
79 <<
"Bad token - could not get fileName";
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.
bool isQuotedString() const noexcept
Token is (quoted) STRING (string variant)
virtual Ostream & write(const char c)
Write character.
bool isWord() const noexcept
Token is word-variant (WORD, DIRECTIVE)
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.
OBJstream os(runTime.globalPath()/outputName)
fileName()=default
Default construct.
const word & wordToken() const
Return const reference to the word contents.
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool good() const noexcept
True if token is not UNDEFINED or ERROR.
void setBad()
Set stream state to be 'bad'.
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.
#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 assign(const token &tok)
Assign from word or string token.