![]() |
LifeV
|
class ExpressionScalar Class representing a scalar constant in an expression. More...
#include <ExpressionScalar.hpp>
Inheritance diagram for ExpressionScalar:
Collaboration diagram for ExpressionScalar:Private Attributes | |
| Real | M_value |
Public Types | |
| typedef ExpressionBase< ExpressionScalar > | base_Type |
Constructors & Destructor | |
| ExpressionScalar (const Real &myValue) | |
| Constructor using the value of the scalar. More... | |
| ExpressionScalar (const ExpressionScalar &expr) | |
| Copy constructor. More... | |
| ~ExpressionScalar () | |
| Destructor. More... | |
Methods | |
| static void | display (std::ostream &out=std::cout) |
| Display method. More... | |
Get Methods | |
| const Real & | value () const |
| Getter for the value of the scalar. More... | |
Private Methods | |
| ExpressionScalar () | |
| No empty constructor. More... | |
Additional Inherited Members | |
Public Types inherited from ExpressionBase< ExpressionScalar > | |
| typedef ExpressionScalar | derived_Type |
Public Member Functions inherited from ExpressionBase< ExpressionScalar > | |
| 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 ExpressionScalar Class representing a scalar constant in an expression.
Definition at line 55 of file ExpressionScalar.hpp.
| typedef ExpressionBase<ExpressionScalar> base_Type |
Definition at line 62 of file ExpressionScalar.hpp.
| ExpressionScalar | ( | const Real & | myValue | ) |
Constructor using the value of the scalar.
Definition at line 51 of file ExpressionScalar.cpp.
| ExpressionScalar | ( | const ExpressionScalar & | expr | ) |
Copy constructor.
Definition at line 57 of file ExpressionScalar.cpp.
| ~ExpressionScalar | ( | ) |
Destructor.
Definition at line 63 of file ExpressionScalar.cpp.
|
private |
No empty constructor.
|
static |
Display method.
Definition at line 71 of file ExpressionScalar.cpp.
| const Real & value | ( | ) | const |
Getter for the value of the scalar.
Definition at line 81 of file ExpressionScalar.cpp.
|
private |
Definition at line 109 of file ExpressionScalar.hpp.