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, TLeft, ScalarExprBase< ValueT > > Class Template Reference

#include <utlExpression.h>

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

Detailed Description

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

Definition at line 216 of file utlExpression.h.

Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

const TLeft & m_Left
 
OP m_OP
 
ValueType m_Scalar
 

Member Typedef Documentation

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

Definition at line 222 of file utlExpression.h.

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

Definition at line 221 of file utlExpression.h.

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

Definition at line 219 of file utlExpression.h.

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

Definition at line 220 of file utlExpression.h.

Constructor & Destructor Documentation

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

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

Definition at line 229 of file utlExpression.h.

Member Function Documentation

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

Definition at line 243 of file utlExpression.h.

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

Determined by the non-scalar expression

Definition at line 234 of file utlExpression.h.

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

Determined by the non-scalar expression

Definition at line 239 of file utlExpression.h.

Member Data Documentation

template<typename OP , typename TLeft , typename ValueT >
const TLeft& utl::BinaryOpExpr< OP, TLeft, ScalarExprBase< ValueT > >::m_Left

Definition at line 224 of file utlExpression.h.

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

Definition at line 226 of file utlExpression.h.

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

Definition at line 225 of file utlExpression.h.


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