41 #ifndef includeIfPresentEntry_H 42 #define includeIfPresentEntry_H 50 namespace functionEntries
Specify a file to include if it exists. Expects a single string to follow.
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 any number of values (e...
ClassName("includeIfPresent")
Runtime type information.
Specify an include file when reading dictionaries, expects a single string to follow.
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.
static bool execute(dictionary &parentDict, Istream &)
Execute the functionEntry in a sub-dict context.