LifeV
|
class ExpressionScalar Class representing a scalar constant in an expression. More...
#include <ExpressionScalar.hpp>
Private Attributes | |
containerPtr_Type | M_vector |
Public Types | |
typedef ExpressionBase< ExpressionExtractScalar< VectorType > > | base_Type |
typedef std::shared_ptr< VectorType > | containerPtr_Type |
Constructors & Destructor | |
ExpressionExtractScalar (const VectorType &myVector) | |
Constructor using the value of the scalar. More... | |
ExpressionExtractScalar (const ExpressionExtractScalar< VectorType > &expr) | |
Copy constructor. More... | |
~ExpressionExtractScalar () | |
Destructor. More... | |
Methods | |
static void | display (std::ostream &out=std::cout) |
Display method. More... | |
Get Methods | |
const containerPtr_Type | vector () const |
Getter for the value of the scalar. More... | |
Private Methods | |
ExpressionExtractScalar () | |
No empty constructor. More... | |
Additional Inherited Members | |
Public Types inherited from ExpressionBase< ExpressionExtractScalar< VectorType > > | |
typedef ExpressionExtractScalar< VectorType > | derived_Type |
Public Member Functions inherited from ExpressionBase< ExpressionExtractScalar< VectorType > > | |
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 129 of file ExpressionScalar.hpp.
typedef ExpressionBase<ExpressionExtractScalar<VectorType> > base_Type |
Definition at line 136 of file ExpressionScalar.hpp.
typedef std::shared_ptr<VectorType> containerPtr_Type |
Definition at line 137 of file ExpressionScalar.hpp.
|
inline |
Constructor using the value of the scalar.
Definition at line 146 of file ExpressionScalar.hpp.
|
inline |
Copy constructor.
Definition at line 150 of file ExpressionScalar.hpp.
|
inline |
Destructor.
Definition at line 154 of file ExpressionScalar.hpp.
|
private |
No empty constructor.
|
static |
Display method.
|
inline |
Getter for the value of the scalar.
Definition at line 172 of file ExpressionScalar.hpp.
|
private |
Definition at line 189 of file ExpressionScalar.hpp.