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

#include <utlExpression.h>

+ Inheritance diagram for utl::ScalarExprBase< ValueT >:
+ Collaboration diagram for utl::ScalarExprBase< ValueT >:

Detailed Description

template<typename ValueT>
class utl::ScalarExprBase< ValueT >

scalar expression base class for double and std::complex<double>

All scalar values will be converted to double or std::complex<double>.

Definition at line 37 of file utlExpression.h.

Public Types

enum  { Dimension = 0 }
 
typedef Superclass::ShapeType ShapeType
 
typedef Superclass::SizeType SizeType
 
typedef Expr< ScalarExprBase< ValueT >, ValueT > Superclass
 
typedef ValueT ValueType
 
- Public Types inherited from utl::Expr< ScalarExprBase< ValueT >, ValueT >
typedef SizeType const * ShapeType
 
typedef unsigned int SizeType
 
typedef ValueT ValueType
 

Public Member Functions

const ValueType ConstRef (void) const
 
ValueType Eval (int i) const
 
const ShapeType GetShape () const
 
ValueType Ref (void)
 
template<typename TValue >
 ScalarExprBase (TValue scalar)
 
- Public Member Functions inherited from utl::Expr< ScalarExprBase< ValueT >, ValueT >
const ScalarExprBase< ValueT > & ConstRef (void) const
 
const ShapeType GetShape () const
 
ScalarExprBase< ValueT > & Ref (void)
 

Static Public Member Functions

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

Public Attributes

ValueT m_Scalar
 

Member Typedef Documentation

template<typename ValueT>
typedef Superclass::ShapeType utl::ScalarExprBase< ValueT >::ShapeType

Definition at line 101 of file utlExpression.h.

template<typename ValueT>
typedef Superclass::SizeType utl::ScalarExprBase< ValueT >::SizeType

Definition at line 100 of file utlExpression.h.

template<typename ValueT>
typedef Expr<ScalarExprBase<ValueT>, ValueT> utl::ScalarExprBase< ValueT >::Superclass

Definition at line 98 of file utlExpression.h.

template<typename ValueT>
typedef ValueT utl::ScalarExprBase< ValueT >::ValueType

Definition at line 99 of file utlExpression.h.

Member Enumeration Documentation

template<typename ValueT>
anonymous enum

ScalarExpr has 0 dimension

Enumerator
Dimension 

Definition at line 104 of file utlExpression.h.

Constructor & Destructor Documentation

template<typename ValueT>
template<typename TValue >
utl::ScalarExprBase< ValueT >::ScalarExprBase ( TValue  scalar)
inline

Definition at line 109 of file utlExpression.h.

Member Function Documentation

template<typename ValueT>
const ValueType utl::ScalarExprBase< ValueT >::ConstRef ( void  ) const
inline

return value

Definition at line 121 of file utlExpression.h.

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

Definition at line 116 of file utlExpression.h.

template<typename ValueT>
static SizeType utl::ScalarExprBase< ValueT >::GetDimension ( )
inlinestatic

Definition at line 112 of file utlExpression.h.

template<typename ValueT>
const ShapeType utl::ScalarExprBase< ValueT >::GetShape ( ) const
inline

Definition at line 114 of file utlExpression.h.

template<typename ValueT>
ValueType utl::ScalarExprBase< ValueT >::Ref ( void  )
inline

return value

Definition at line 126 of file utlExpression.h.

Member Data Documentation

template<typename ValueT>
ValueT utl::ScalarExprBase< ValueT >::m_Scalar

Definition at line 106 of file utlExpression.h.


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