196 class dlLibraryTable;
198 namespace functionEntries
205 class codeBlockEntry;
206 class codeBlockStreamEntry;
226 static bool masterOnlyRead
233 static string codeString
236 const word& templateFunctionName,
243 static string codeString
262 static streamingFunctionType getFunction
label lineNumber() const
Return current stream line number.
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,...
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.
Compiles and executes code string expressions, returning the result to the dictionary entry.
Part of the #codeBlock...#codeBlock clause.
Compiles and executes C++ OpenFOAM code string expressions.
Compiles and executes C++ OpenFOAM code string expressions.
static const word codeOptions
Name of the code options file to be used.
static const wordList codeKeys
Keywords associated with source code.
codeStream(const functionName &, const label lineNumber, const dictionary &)
Construct from function type and parent dictionary.
static const wordList compileFiles
Name of the C code template to be used.
static const wordList codeDictVars
Name of the dictionary variables in the source code.
virtual bool execute(dictionary &contextDict, Istream &)
Expand the functionEntry into the contextDict.
void operator=(const codeStream &)=delete
Disallow default bitwise assignment.
FunctionTypeName("#codeStream")
Runtime type information.
Compiles and executes C++ OpenFOAM code string expressions.
A functionEntry causes entries to be added/manipulated on the specified dictionary given an input str...
A functionName is a word starting with '#'.
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...
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.