114 inline explicit keyType(
const string&);
142 bool match(
const std::string&,
bool literalMatch=
false)
const;
168 void operator=(
const std::string&) =
delete;
A class for handling keywords in dictionaries.
Ostream & writeKeyword(Foam::Ostream &os, const keyType &kw)
Write the keyword to the Ostream with the current level of indentation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds items read from Istream.
bool match(const std::string &, bool literalMatch=false) const
Smart match as regular expression or as a string.
bool isFunctionName() const
Return true if the keyword is a functionName.
bool isVariable() const
Return true if the keyword is a variable.
A functionName is a word starting with '#'.
friend Istream & operator>>(Istream &, keyType &)
A class for handling words, derived from string.
Istream & operator>>(Istream &, directionInfo &)
bool isUndefined() const
Return true if the type has not been defined.
friend Ostream & operator<<(Ostream &, const keyType &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void operator=(const keyType &)
Assignment operator.
Ostream & operator<<(Ostream &, const ensightPart &)
static const keyType null
An empty keyType.
A variable is a word with support for additional characters, in particular '$' and '/'...
bool isPattern() const
Should be treated as a match rather than a literal string.