Go to the documentation of this file.
72 <<
"empty word/expression "
81 <<
"wrong token type - expected word or string, found "
89 is.
check(
"Istream& operator>>(Istream&, wordRe&)");
98 os.
check(
"Ostream& operator<<(Ostream&, const wordRe&)");
107 os <<
"wordRe(regex) " << *
this;
111 os <<
"wordRe(plain) \"" << *
this <<
'"';
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
A class for handling words, derived from string.
Ostream & info(Ostream &) const
Output some basic info.
const word & wordToken() const
A token holds items read from Istream.
A wordRe is a word, but can also have a regular expression for matching words.
const string & stringToken() const
InfoProxy< token > info() const
Return info proxy.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
virtual void flush()=0
Flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual Ostream & writeQuoted(const std::string &, const bool quoted=true)=0
Write std::string surrounded by quotes.
Istream & operator>>(Istream &, edgeMesh &)
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,...
static const wordRe null
An empty wordRe.