DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Public Types | Public Member Functions | Protected Attributes | List of all members
utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput > Class Template Reference

#include <utlFunctors.h>

+ Inheritance diagram for utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >:
+ Collaboration diagram for utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >:

Detailed Description

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
class utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >

Definition at line 182 of file utlFunctors.h.

Public Types

typedef ScalarFunctorWrapper Self
 
- Public Types inherited from utl::Functor::VectorFunctorBase< TVector, TOutput >
typedef VectorFunctorBase Self
 

Public Member Functions

TFunctor GetFunctor () const
 
int GetOutputDimension (const int inputSize) const
 
bool operator!= (const Self &other) const
 
TOutput operator() (const TVector &A) const
 
void operator= (const Self &other)
 
bool operator== (const Self &other) const
 
 ScalarFunctorWrapper (const TFunctor &func=TFunctor())
 
void SetFunctor (const TFunctor &func)
 
- Public Member Functions inherited from utl::Functor::VectorFunctorBase< TVector, TOutput >
virtual int GetLogLevel () const
 
int GetOutputDimension (const int inputSize) const
 
int GetOutputDimension (const std::vector< int > &sizeVec) const
 
void Initialize ()
 
bool operator!= (const Self &other) const
 
Selfoperator= (const Self &other)
 
bool operator== (const Self &other) const
 
void Print (std::ostream &os=std::cout) const
 
virtual void SetLogLevel (const int _arg)
 
void VerifyInputParameters (const int inputSize=-1) const
 

Protected Attributes

TFunctor m_Functor
 
- Protected Attributes inherited from utl::Functor::VectorFunctorBase< TVector, TOutput >
int m_LogLevel =1
 

Member Typedef Documentation

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
typedef ScalarFunctorWrapper utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >::Self

Definition at line 185 of file utlFunctors.h.

Constructor & Destructor Documentation

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >::ScalarFunctorWrapper ( const TFunctor &  func = TFunctor())
inline

Definition at line 193 of file utlFunctors.h.

Member Function Documentation

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
TFunctor utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >::GetFunctor ( ) const
inline

Definition at line 198 of file utlFunctors.h.

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
int utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >::GetOutputDimension ( const int  inputSize) const
inline

Definition at line 218 of file utlFunctors.h.

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
bool utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >::operator!= ( const Self other) const
inline

Definition at line 188 of file utlFunctors.h.

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
TOutput utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >::operator() ( const TVector &  A) const
inline

Definition at line 207 of file utlFunctors.h.

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
void utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >::operator= ( const Self other)
inline

Definition at line 190 of file utlFunctors.h.

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
bool utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >::operator== ( const Self other) const
inline

Definition at line 186 of file utlFunctors.h.

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
void utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >::SetFunctor ( const TFunctor &  func)
inline

Definition at line 202 of file utlFunctors.h.

Member Data Documentation

template<class TFunctor, class TVector = utl::NDArray<double,1>, class TOutput = TVector>
TFunctor utl::Functor::ScalarFunctorWrapper< TFunctor, TVector, TOutput >::m_Functor
protected

Definition at line 223 of file utlFunctors.h.


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