LifeV
|
class ExpressionAddition Class for representing an addition between two expressions. More...
#include <ExpressionAddition.hpp>
Private Attributes | |
LExpressionType | M_l |
RExpressionType | M_r |
Public Types | |
typedef ExpressionBase< ExpressionAddition< LExpressionType, RExpressionType > > | base_Type |
Constructors & Destructor | |
ExpressionAddition (const LExpressionType &l, const RExpressionType &r) | |
Complete constructor using the two expressions to be summed. More... | |
ExpressionAddition (const ExpressionAddition< LExpressionType, RExpressionType > &expression) | |
Copy constructor. More... | |
~ExpressionAddition () | |
Destructor. More... | |
Methods | |
static void | display (std::ostream &out=std::cout) |
Display method. More... | |
Get Methods | |
const LExpressionType & | left () const |
Getter for the expression on the left side of the addition. More... | |
const RExpressionType & | right () const |
Getter for the expression on the right side of the addition. More... | |
Private Methods | |
ExpressionAddition () | |
No default constructor. More... | |
Additional Inherited Members | |
Public Types inherited from ExpressionBase< ExpressionAddition< LExpressionType, RExpressionType > > | |
typedef ExpressionAddition< LExpressionType, RExpressionType > | derived_Type |
Public Member Functions inherited from ExpressionBase< ExpressionAddition< LExpressionType, RExpressionType > > | |
ExpressionBase () | |
Empty and only constructor. More... | |
virtual | ~ExpressionBase () |
Destructor. More... | |
const derived_Type & | cast () const |
Method to cast away the type and get the real (DerivedType) object. More... | |
class ExpressionAddition Class for representing an addition between two expressions.
This class represents the addition in the expression tree.
Template parameters
LExpressionType: The expression on the left side of the addition operation.
RExpressionType: The expression on the right side of the addition operation.
Template requirements
LExpressionType: Copiable, static display method
RExpressionType: Copiable, static display method
Definition at line 72 of file ExpressionAddition.hpp.
typedef ExpressionBase< ExpressionAddition <LExpressionType, RExpressionType> > base_Type |
Definition at line 80 of file ExpressionAddition.hpp.
|
inline |
Complete constructor using the two expressions to be summed.
Definition at line 89 of file ExpressionAddition.hpp.
|
inline |
Copy constructor.
Definition at line 93 of file ExpressionAddition.hpp.
|
inline |
Destructor.
Definition at line 97 of file ExpressionAddition.hpp.
|
private |
No default constructor.
|
inlinestatic |
Display method.
Definition at line 106 of file ExpressionAddition.hpp.
|
inline |
Getter for the expression on the left side of the addition.
Definition at line 120 of file ExpressionAddition.hpp.
|
inline |
Getter for the expression on the right side of the addition.
Definition at line 126 of file ExpressionAddition.hpp.
|
private |
Definition at line 144 of file ExpressionAddition.hpp.
|
private |
Definition at line 147 of file ExpressionAddition.hpp.