LifeV
|
class ExpressionBase Base class (static polymorphism, CRTP sense) for all the expressions used in assembly procedures. More...
#include <ExpressionBase.hpp>
Public Types | |
typedef DerivedType | derived_Type |
Constructors & Destructor | |
ExpressionBase () | |
Empty and only constructor. More... | |
virtual | ~ExpressionBase () |
Destructor. More... | |
Methods | |
const derived_Type & | cast () const |
Method to cast away the type and get the real (DerivedType) object. More... | |
Private Methods | |
ExpressionBase (const ExpressionBase< DerivedType > &) | |
No copy (avoid slicing) More... | |
void | operator= (const ExpressionBase< DerivedType > &) |
No equality (avoid slicing) More... | |
class ExpressionBase Base class (static polymorphism, CRTP sense) for all the expressions used in assembly procedures.
This class is nothing else than an empty mother class for all the expressions, in order to distinguish those classes from the other ones (acts like a type marker).
Template parameters
DerivedType: The type of the derived class.
Template requirements
DerivedType: Copiable
Definition at line 64 of file ExpressionBase.hpp.
typedef DerivedType derived_Type |
Definition at line 71 of file ExpressionBase.hpp.
|
inline |
Empty and only constructor.
Definition at line 80 of file ExpressionBase.hpp.
|
inlinevirtual |
Destructor.
Definition at line 83 of file ExpressionBase.hpp.
|
private |
No copy (avoid slicing)
|
inline |
Method to cast away the type and get the real (DerivedType) object.
Definition at line 92 of file ExpressionBase.hpp.
|
private |
No equality (avoid slicing)