codedBase Class Referenceabstract

Base class for function objects and boundary conditions using dynamic code. More...

Inheritance diagram for codedBase:

Public Member Functions

 ClassName ("codedBase")
 Runtime type information. More...
 
 codedBase ()
 Construct null. More...
 
 codedBase (const codedBase &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~codedBase ()
 Destructor. More...
 
void operator= (const codedBase &)=delete
 Disallow default bitwise assignment. More...
 

Protected Member Functions

void updateLibrary () const
 Update library as required. More...
 
virtual const wordcodeName () const =0
 Name of the dynamically generated CodedType. More...
 
virtual string description () const =0
 Return a description (type + name) for the output. More...
 
virtual const dictionarycodeDict () const =0
 Get the dictionary to initialize the codeContext. More...
 
virtual const wordListcodeKeys () const =0
 Get the keywords associated with source code. More...
 
virtual void prepare (dynamicCode &, const dynamicCodeContext &) const =0
 Adapt the context for the current object. More...
 
virtual void clearRedirect () const =0
 Clear any redirected objects. More...
 

Detailed Description

Base class for function objects and boundary conditions using dynamic code.

Source files

Definition at line 53 of file codedBase.H.

Constructor & Destructor Documentation

◆ codedBase() [1/2]

codedBase ( )

Construct null.

Definition at line 347 of file codedBase.C.

◆ codedBase() [2/2]

codedBase ( const codedBase )
delete

Disallow default bitwise copy construction.

◆ ~codedBase()

~codedBase ( )
virtual

Destructor.

Definition at line 353 of file codedBase.C.

Member Function Documentation

◆ updateLibrary()

◆ codeName()

◆ description()

virtual string description ( ) const
protectedpure virtual

Return a description (type + name) for the output.

Implemented in CodedSource< Type >.

◆ codeDict()

◆ codeKeys()

virtual const wordList& codeKeys ( ) const
protectedpure virtual

Get the keywords associated with source code.

Implemented in CodedSource< Type >.

◆ prepare()

virtual void prepare ( dynamicCode ,
const dynamicCodeContext  
) const
protectedpure virtual

Adapt the context for the current object.

Implemented in CodedSource< Type >.

◆ clearRedirect()

virtual void clearRedirect ( ) const
protectedpure virtual

Clear any redirected objects.

Implemented in CodedSource< Type >.

◆ ClassName()

ClassName ( "codedBase"  )

Runtime type information.

◆ operator=()

void operator= ( const codedBase )
delete

Disallow default bitwise assignment.


The documentation for this class was generated from the following files: