Base class for function objects and boundary conditions using dynamic code. More...
Public Member Functions | |
ClassName ("codedBase") | |
Runtime type information. More... | |
codedBase () | |
Construct null. More... | |
virtual | ~codedBase () |
Destructor. More... | |
Protected Member Functions | |
void | updateLibrary (const word &name) const |
Update library as required. More... | |
virtual dlLibraryTable & | libs () const =0 |
Get the loaded dynamic libraries. More... | |
virtual void | prepare (dynamicCode &, const dynamicCodeContext &) const =0 |
Adapt the context for the current object. More... | |
virtual string | description () const =0 |
virtual void | clearRedirect () const =0 |
virtual const dictionary & | codeDict () const =0 |
Base class for function objects and boundary conditions using dynamic code.
Definition at line 53 of file codedBase.H.
codedBase | ( | ) |
Construct null.
Definition at line 343 of file codedBase.C.
|
virtual |
Destructor.
Definition at line 349 of file codedBase.C.
|
protected |
Update library as required.
Definition at line 282 of file codedBase.C.
References dynamicCode::checkSecurity(), dict, dynamicCodeContext::dict(), Foam::endl(), Foam::Info, dynamicCode::libraryBaseName(), dictionaryName::name(), Foam::name(), dynamicCodeContext::sha1(), dictionary::startLineNumber(), and SHA1Digest::str().
|
protectedpure virtual |
Get the loaded dynamic libraries.
Implemented in CodedSource< Type >, and codedFunctionObject.
|
protectedpure virtual |
Adapt the context for the current object.
Implemented in CodedSource< Type >, and codedFunctionObject.
|
protectedpure virtual |
Implemented in CodedSource< Type >, and codedFunctionObject.
|
protectedpure virtual |
Implemented in CodedSource< Type >, and codedFunctionObject.
|
protectedpure virtual |
Implemented in CodedSource< Type >, and codedFunctionObject.
ClassName | ( | "codedBase" | ) |
Runtime type information.