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