DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight > Class Template Reference

#include <utlExpression.h>

+ Inheritance diagram for utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >:
+ Collaboration diagram for utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >:

Detailed Description

template<typename OP, typename TRight, typename ValueT>
class utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >

Definition at line 250 of file utlExpression.h.

Public Types

typedef Superclass::ShapeType ShapeType
 
typedef Superclass::SizeType SizeType
 
typedef Expr< BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >, Expr2ValueType< ScalarExprBase< ValueT >, TRight > > Superclass
 
typedef Superclass::ValueType ValueType
 
- Public Types inherited from utl::Expr< BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >, Expr2ValueType< TRight, ScalarExprBase< ValueT > > >
typedef SizeType const * ShapeType
 
typedef unsigned int SizeType
 
typedef Expr2ValueType< TRight, ScalarExprBase< ValueT > > ValueType
 

Public Member Functions

 BinaryOpExpr (const ScalarExprBase< ValueT > &lhs, const TRight &rhs)
 
ValueType Eval (int i) const
 
const ShapeType GetShape () const
 
- Public Member Functions inherited from utl::Expr< BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >, Expr2ValueType< TRight, ScalarExprBase< ValueT > > >
const BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight > & ConstRef (void) const
 
const ShapeType GetShape () const
 
BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight > & Ref (void)
 

Static Public Member Functions

static SizeType GetDimension ()
 
- Static Public Member Functions inherited from utl::Expr< BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >, Expr2ValueType< TRight, ScalarExprBase< ValueT > > >
static SizeType GetDimension ()
 

Public Attributes

OP m_OP
 
const TRight & m_Right
 
ValueType m_Scalar
 

Member Typedef Documentation

template<typename OP , typename TRight , typename ValueT >
typedef Superclass::ShapeType utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::ShapeType

Definition at line 256 of file utlExpression.h.

template<typename OP , typename TRight , typename ValueT >
typedef Superclass::SizeType utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::SizeType

Definition at line 255 of file utlExpression.h.

template<typename OP , typename TRight , typename ValueT >
typedef Expr<BinaryOpExpr<OP,ScalarExprBase<ValueT>, TRight>, Expr2ValueType<ScalarExprBase<ValueT>, TRight> > utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::Superclass

Definition at line 253 of file utlExpression.h.

template<typename OP , typename TRight , typename ValueT >
typedef Superclass::ValueType utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::ValueType

Definition at line 254 of file utlExpression.h.

Constructor & Destructor Documentation

template<typename OP , typename TRight , typename ValueT >
utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::BinaryOpExpr ( const ScalarExprBase< ValueT > &  lhs,
const TRight &  rhs 
)
inline

the two inputs should have the same shape, or at least one is a object of ScalarExpr

Definition at line 263 of file utlExpression.h.

Member Function Documentation

template<typename OP , typename TRight , typename ValueT >
ValueType utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::Eval ( int  i) const
inline

Definition at line 277 of file utlExpression.h.

template<typename OP , typename TRight , typename ValueT >
static SizeType utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::GetDimension ( )
inlinestatic

Determined by the non-scalar expression

Definition at line 268 of file utlExpression.h.

template<typename OP , typename TRight , typename ValueT >
const ShapeType utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::GetShape ( ) const
inline

Determined by the non-scalar expression

Definition at line 273 of file utlExpression.h.

Member Data Documentation

template<typename OP , typename TRight , typename ValueT >
OP utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::m_OP

Definition at line 260 of file utlExpression.h.

template<typename OP , typename TRight , typename ValueT >
const TRight& utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::m_Right

Definition at line 258 of file utlExpression.h.

template<typename OP , typename TRight , typename ValueT >
ValueType utl::BinaryOpExpr< OP, ScalarExprBase< ValueT >, TRight >::m_Scalar

Definition at line 259 of file utlExpression.h.


The documentation for this class was generated from the following file: