Go to the documentation of this file.
48 dict.findScoped(varName, keyType::REGEX_RECURSIVE);
58 <<
"Undefined variable "
59 << varName <<
". Valid variables are " <<
dict
66 <<
"Illegal token " << t.
info()
67 <<
" when trying to read label"
128 return keyType::null;
A keyword and a list of tokens is an 'entry'.
label labelToken() const
Return label value.
A class for handling words, derived from Foam::string.
virtual ITstream & stream() const =0
Return token stream, if entry is a primitive entry.
bool fatalCheck(const char *operation) const
Check IOstream status for given operation.
A token holds an item read from Istream.
bool isLabel() const
Token is LABEL.
A class for handling keywords in dictionaries.
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)....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool isWord() const
Token is WORD or DIRECTIVE word.
const word & wordToken() const
Return const reference to the word contents.
errorManipArg< error, int > exit(error &err, const int errNo=1)
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
const dimensionedScalar e
Elementary charge.
#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,...