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...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
void setBad()
Set stream to be bad.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void flush()=0
Flush stream.
virtual Ostream & writeQuoted(const std::string &, const bool quoted=true)=0
Write std::string surrounded by quotes.
A token holds items read from Istream.
const string & stringToken() const
InfoProxy< token > info() const
Return info proxy.
const word & wordToken() const
A wordRe is a word, but can also have a regular expression for matching words.
static const wordRe null
An empty wordRe.
static bool isPattern(const string &)
Test string for regular expression meta characters.
Ostream & info(Ostream &) const
Output some basic info.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)