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