Go to the documentation of this file.
84 #ifndef functionObjects_codedFunctionObject_H
85 #define functionObjects_codedFunctionObject_H
94 namespace functionObjects
101 class codedFunctionObject
103 public functionObjects::timeFunctionObject,
128 virtual dlLibraryTable&
libs()
const;
159 =
"functionObjectTemplate.C";
163 =
"functionObjectTemplate.H";
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
autoPtr< functionObject > redirectFunctionObjectPtr_
A table of dynamically loaded libraries.
virtual const dictionary & codeDict() const
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
static constexpr const char *const codeTemplateH
Tools for handling dynamic code compilation.
virtual string description() const
Encapsulation of dynamic code dictionaries.
void operator=(const codedFunctionObject &)=delete
Base class for function objects and boundary conditions using dynamic code that provides methods for ...
Virtual base class for function objects with a reference to Time.
static constexpr const char *const codeTemplateC
codedFunctionObject(const codedFunctionObject &)=delete
Abstract base-class for Time/database function objects.
virtual bool read(const dictionary &)
Provides a general interface to enable dynamic code compilation.
functionObject & redirectFunctionObject() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~codedFunctionObject()=default
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const noexcept
virtual dlLibraryTable & libs() const
virtual const dictionary & codeContext() const
virtual void clearRedirect() const