![]() |
LifeV
|
class ExpressionProduct Class for representing a product between two expressions. More...
#include <ExpressionProduct.hpp>
Inheritance diagram for ExpressionProduct< LExpressionType, RExpressionType >:
Collaboration diagram for ExpressionProduct< LExpressionType, RExpressionType >:Private Attributes | |
| LExpressionType | M_l |
| RExpressionType | M_r |
Public Types | |
| typedef ExpressionBase< ExpressionProduct< LExpressionType, RExpressionType > > | base_Type |
Constructors & Destructor | |
| ExpressionProduct (const LExpressionType &l, const RExpressionType &r) | |
| Full constructor using the two expressions. More... | |
| ExpressionProduct (const ExpressionProduct< LExpressionType, RExpressionType > &expression) | |
| Copy constructor. More... | |
| ~ExpressionProduct () | |
| Destructor. More... | |
Methods | |
| static void | display (std::ostream &out=std::cout) |
| Display method. More... | |
Private Methods | |
| const LExpressionType & | left () const |
| Getter for the left hand side. More... | |
| const RExpressionType & | right () const |
| Getter for the right hand side. More... | |
| ExpressionProduct () | |
Additional Inherited Members | |
Public Types inherited from ExpressionBase< ExpressionProduct< LExpressionType, RExpressionType > > | |
| typedef ExpressionProduct< LExpressionType, RExpressionType > | derived_Type |
Public Member Functions inherited from ExpressionBase< ExpressionProduct< 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 ExpressionProduct Class for representing a product between two expressions.
This class represents the product in the expression tree.
Template parameters
LExpressionType: The expression on the left side of the product operation.
RExpressionType: The expression on the right side of the product operation.
Template requirements
LExpressionType: Copiable, static display method
RExpressionType: Copiable, static display method
Definition at line 72 of file ExpressionProduct.hpp.
| typedef ExpressionBase< ExpressionProduct <LExpressionType, RExpressionType> > base_Type |
Definition at line 80 of file ExpressionProduct.hpp.
|
inline |
Full constructor using the two expressions.
Definition at line 88 of file ExpressionProduct.hpp.
|
inline |
Copy constructor.
Definition at line 92 of file ExpressionProduct.hpp.
|
inline |
Destructor.
Definition at line 96 of file ExpressionProduct.hpp.
|
private |
|
inlinestatic |
Display method.
Definition at line 105 of file ExpressionProduct.hpp.
|
inline |
Getter for the left hand side.
Definition at line 119 of file ExpressionProduct.hpp.
|
inline |
Getter for the right hand side.
Definition at line 125 of file ExpressionProduct.hpp.
|
private |
Definition at line 143 of file ExpressionProduct.hpp.
|
private |
Definition at line 146 of file ExpressionProduct.hpp.