46 #ifndef functionEntry_H 47 #define functionEntry_H 138 primitiveEntryIstream,
144 (parentDict, entry, is)
150 const word& functionName,
functionEntry(const word &, const dictionary &, Istream &)
Construct from keyword, parent dictionary and Istream.
void operator=(const functionEntry &)=delete
Disallow default bitwise assignment.
static bool insert(dictionary &parentDict, const string &)
Insert the given string in a sub-dict context.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds items read from Istream.
virtual void write(Ostream &) const
Write.
A keyword and a list of tokens is a 'primitiveEntry'. An primitiveEntry can be read, written and printed, and the types and values of its tokens analysed.
A functionName is a word starting with '#'.
A class for handling words, derived from string.
A functionEntry causes entries to be added/manipulated on the specified dictionary given an input str...
static bool execute(const word &functionName, dictionary &parentDict, Istream &)
Execute the functionEntry in a sub-dict context.
declareMemberFunctionSelectionTable(bool, functionEntry, execute, dictionaryIstream,(dictionary &parentDict, Istream &is),(parentDict, is))
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual autoPtr< entry > clone() const
Construct on freestore as copy.
static string readFuncNameArgs(Istream &is)
Read the function name and optional argument list.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A keyword and a list of tokens is an 'entry'.