Go to the documentation of this file.
53 const std::string& str,
57 if (literalMatch || !isPattern_)
60 return (str == *
this);
86 else if (t.isString())
97 <<
"empty word/expression "
106 <<
"wrong token type - expected word or string, found "
114 is.
check(
"Istream& operator>>(Istream&, keyType&)");
123 os.
check(
"Ostream& operator<<(Ostream&, const keyType&)");
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
A class for handling words, derived from string.
bool isPattern_
Is the keyType a pattern (regular expression)
A token holds items read from Istream.
Wrapper around POSIX extended regular expressions.
A class for handling keywords in dictionaries.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual Ostream & write(const token &)=0
Write next token to stream.
static const keyType null
An empty keyType.
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool match(const std::string &) const
Return true if it matches the entire string.
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,...
bool match(const std::string &, bool literalMatch=false) const
Smart match as regular expression or as a string.