65 #ifndef includeFuncEntry_H
66 #define includeFuncEntry_H
74 namespace functionEntries
93 operator[](0).wordToken(),
100 char(
operator[](1).pToken())
102 + char(
operator[](3).pToken());
label lineNumber() const
Return current stream line number.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
label size() const
Return the number of elements in the UList.
A 2-tuple for storing two objects of different types.
const Type1 & first() const
Return first.
T & operator[](const label)
Return element of UList.
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.
virtual autoPtr< entry > clone() const
Construct on freestore as copy.
A class for handling file names.
Specify a functionObject dictionary file to include, expects the functionObject name to follow with o...
includeFuncEntry(const functionName &functionType, const label lineNumber, const dictionary &parentDict, Istream &is)
Construct from functionType, dictionary and Istream.
static fileName functionObjectTemplatePath
Default relative path to the directory structure.
FunctionTypeName("#includeFunc")
Runtime type information.
virtual bool execute(dictionary &contextDict, Istream &)
Expand the functionEntry into the contextDict.
static fileName functionObjectDictPath
Default relative path to the directory structure.
Tuple2< string, label > funcNameArgs() const
Return the function name + arguments string.
A functionEntry causes entries to be added/manipulated on the specified dictionary given an input str...
A functionName is a word starting with '#'.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.