genericFieldBase Class Reference

Base class for generic field types. Facilitates down-casting so that the actual type can be queried. More...

Inheritance diagram for genericFieldBase:

Public Member Functions

 TypeName ("generic")
 Runtime type information. More...
 
 genericFieldBase ()
 Construct null. More...
 
 genericFieldBase (const word &actualTypeName)
 Construct from actual type name. More...
 
virtual ~genericFieldBase ()
 Destructor. More...
 
const wordactualTypeName () const
 Return the actual type name. More...
 

Detailed Description

Base class for generic field types. Facilitates down-casting so that the actual type can be queried.

Source files

Definition at line 49 of file genericFieldBase.H.

Constructor & Destructor Documentation

◆ genericFieldBase() [1/2]

Construct null.

Definition at line 38 of file genericFieldBase.C.

◆ genericFieldBase() [2/2]

genericFieldBase ( const word actualTypeName)

Construct from actual type name.

Definition at line 42 of file genericFieldBase.C.

◆ ~genericFieldBase()

~genericFieldBase ( )
virtual

Destructor.

Definition at line 50 of file genericFieldBase.C.

Member Function Documentation

◆ TypeName()

TypeName ( "generic"  )

Runtime type information.

◆ actualTypeName()

const word& actualTypeName ( ) const
inline

Return the actual type name.

Definition at line 79 of file genericFieldBase.H.

Referenced by genericFvPatchField< Type >::genericFvPatchField().

Here is the caller graph for this function:

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