A keyword and a list of tokens is an 'entry'.
entry(const keyType &keyword)
Construct from keyword.
A dictionary directive for including a file found using the Foam::findEtcFile() mechanism.
static bool log
Report to stdout which file is included.
static fileName resolveEtcFile(const fileName &f, const dictionary &dict)
Expand include fileName and search etc directories for the file.
static bool execute(const bool mandatory, dictionary &parentDict, Istream &is)
Include file in a sub-dict context.
A dictionary directive for conditionally including an etc file, expects a single string to follow.
static bool execute(dictionary &parentDict, Istream &is)
Include etc file (if it exists) in a sub-dict context.
functionEntry(const functionEntry &)=delete
No copy construct.
primitiveEntry(const keyType &key)
Construct from keyword and no tokens.
virtual const dictionary & dict() const
This entry is not a dictionary, calling this function generates a FatalError.