36 namespace functionEntries
89 const label lineNumber,
Macros for easy insertion into member function selection tables.
Macros for easy insertion into run-time selection tables.
label lineNumber() const
Return current stream line number.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling file names.
Specify an include file when reading dictionaries.
virtual bool virtualExecute(const dictionary &contextDict, primitiveEntry &contextEntry, Istream &)
Expand the functionEntry into the contextEntry.
const string & fName() const
Return the file name.
virtual bool execute(dictionary &contextDict, Istream &)
Expand the functionEntry into the contextDict.
Specify an etc file to include when reading dictionaries, expects a single string to follow.
virtual fileName includeFileName(const fileName &dir, const fileName &, const dictionary &) const
Expand include fileName and return.
includeEtcEntry(const label lineNumber, const dictionary &parentDict, Istream &is)
Construct from line number, dictionary and Istream.
virtual bool execute(dictionary &contextDict, Istream &)
Expand the functionEntry into the contextDict.
A functionEntry causes entries to be added/manipulated on the specified dictionary given an input str...
A keyword and a list of tokens is a 'primitiveEntry'. An primitiveEntry can be read,...
const dictionary & dict() const
This entry is not a dictionary,.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
Functions to search 'etc' directories for configuration files etc.
defineFunctionTypeNameAndDebug(includeFvConstraintEntry, 0)
addToMemberFunctionSelectionTable(functionEntry, calcEntry, execute, primitiveEntryIstream)
addToRunTimeSelectionTable(functionEntry, includeFvConstraintEntry, dictionary)
string & inplaceExpandEntry(string &s, const dictionary &dict, const bool allowEnvVars, const bool allowEmpty, const char sigil='$')
Inplace expand occurrences of variables according to the dictionary.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
fileName findEtcFile(const fileName &, bool mandatory=false)
Search for a file using findEtcFiles.