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