LifeV
|
2 ARGUMENTS More...
#include <ExpressionFunctor.hpp>
Private Attributes | |
std::shared_ptr< FunctorType > | M_functor |
ArgumentType1 | M_argument1 |
ArgumentType2 | M_argument2 |
Public Types | |
typedef ExpressionBase< ExpressionFunctor2< FunctorType, ArgumentType1, ArgumentType2 > > | base_Type |
Constructors & Destructor | |
ExpressionFunctor2 (std::shared_ptr< FunctorType > fct, const ArgumentType1 &arg1, const ArgumentType2 &arg2) | |
Argument with the required data in argument. More... | |
ExpressionFunctor2 (const ExpressionFunctor2< FunctorType, ArgumentType1, ArgumentType2 > &expr) | |
Copy constructor. More... | |
~ExpressionFunctor2 () | |
Destructor. More... | |
Methods | |
static void | display (std::ostream &out=std::cout) |
Display method. More... | |
Get Methods | |
std::shared_ptr< FunctorType > | functor () const |
Getter for the functor. More... | |
const ArgumentType1 & | argument1 () const |
Getter for the expression to be placed as first argument. More... | |
const ArgumentType2 & | argument2 () const |
Getter for the expression to be placed as second argument. More... | |
Private Methods | |
ExpressionFunctor2 () | |
No empty constructor. More... | |
Additional Inherited Members | |
Public Types inherited from ExpressionBase< ExpressionFunctor2< FunctorType, ArgumentType1, ArgumentType2 > > | |
typedef ExpressionFunctor2< FunctorType, ArgumentType1, ArgumentType2 > | derived_Type |
Public Member Functions inherited from ExpressionBase< ExpressionFunctor2< FunctorType, ArgumentType1, ArgumentType2 > > | |
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... | |
2 ARGUMENTS
class ExpressionFunctor2 Class representing a functor with 2 expressions as arguement.
See the documentation of the class LifeV::ExpressionFunctor1
Template parameters
FunctorType: The type of the functor
ArgumentType1: The type of the first argument, that is an expression (it is usually different from the input type expected by the functor)
ArgumentType2: The type of the second argument, that is an expression (it is usually different from the input type expected by the functor)
Template requirements
FunctorType: None
ArgumentType1: Copiable, has a static method for display
ArgumentType2: Copiable, has a static method for display
Definition at line 246 of file ExpressionFunctor.hpp.
typedef ExpressionBase<ExpressionFunctor2<FunctorType, ArgumentType1, ArgumentType2> > base_Type |
Definition at line 254 of file ExpressionFunctor.hpp.
|
inline |
Argument with the required data in argument.
Definition at line 263 of file ExpressionFunctor.hpp.
|
inline |
Copy constructor.
Definition at line 271 of file ExpressionFunctor.hpp.
|
inline |
Destructor.
Definition at line 279 of file ExpressionFunctor.hpp.
|
private |
No empty constructor.
|
inlinestatic |
Display method.
Definition at line 288 of file ExpressionFunctor.hpp.
|
inline |
Getter for the functor.
Definition at line 303 of file ExpressionFunctor.hpp.
|
inline |
Getter for the expression to be placed as first argument.
Definition at line 309 of file ExpressionFunctor.hpp.
|
inline |
Getter for the expression to be placed as second argument.
Definition at line 315 of file ExpressionFunctor.hpp.
|
private |
Definition at line 333 of file ExpressionFunctor.hpp.
|
private |
Definition at line 336 of file ExpressionFunctor.hpp.
|
private |
Definition at line 337 of file ExpressionFunctor.hpp.