47#ifndef Foam_codedBase_H
48#define Foam_codedBase_H
84 const std::string& funcName,
92 const std::string& funcName,
129 void append(
const std::string& str);
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void updateLibrary(const word &name, const dynamicCodeContext &context) const
Update library as required, using the given context.
virtual ~codedBase()=default
Destructor.
virtual void clearRedirect() const =0
codedBase(const codedBase &)=delete
No copy construct.
void setCodeContext(const dictionary &dict)
Set code context from a dictionary.
codedBase()=default
Default construct.
virtual dlLibraryTable & libs() const =0
Mutable access to the loaded dynamic libraries.
virtual string description() const =0
ClassName("codedBase")
Runtime type information.
void append(const std::string &str)
Add content to SHA1 hashing.
virtual const dictionary & codeDict() const =0
void operator=(const codedBase &)=delete
No copy assignment.
static void writeCodeDict(Ostream &os, const dictionary &dict)
Write code-dictionary contents.
virtual void prepare(dynamicCode &dynCode, const dynamicCodeContext &context) const =0
Adapt the context for the current object.
dynamicCodeContext & codeContext()
Access to the dynamic code context.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A table of dynamically loaded libraries.
Encapsulation of dynamic code dictionaries.
Tools for handling dynamic code compilation.
A class for handling file names.
Registry of regIOobjects.
A class for handling words, derived from Foam::string.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
OBJstream os(runTime.globalPath()/outputName)
const word dictName("faMeshDefinition")
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.