MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions
mds::base::CFunctorBase< R, P1, P2, P3, P4 > Struct Template Reference

Base class for all functors. More...

#include <mdsFunctor.h>

List of all members.

Public Types

enum  { NUM_OF_PARAMS = 4 }
 Number of functor parameters. More...
typedef CTypeTraits< P1 >
::tParameter 
tParam1
 Types of functor parameters.
typedef CTypeTraits< P2 >
::tParameter 
tParam2
typedef CTypeTraits< P3 >
::tParameter 
tParam3
typedef CTypeTraits< P4 >
::tParameter 
tParam4
typedef R tResult
 Type of the functor result.

Public Member Functions

virtual CFunctorBaseclone () const =0
 Creates a new copy of the functor object.
virtual R operator() (tParam1, tParam2, tParam3, tParam4)=0
 Virtual function operator.
virtual ~CFunctorBase ()
 Virtual destructor.

Detailed Description

template<typename R, typename P1 = tNull, typename P2 = tNull, typename P3 = tNull, typename P4 = tNull>
struct mds::base::CFunctorBase< R, P1, P2, P3, P4 >

Base class for all functors.


Member Typedef Documentation

template<typename R , typename P1 = tNull, typename P2 = tNull, typename P3 = tNull, typename P4 = tNull>
typedef CTypeTraits<P1>::tParameter mds::base::CFunctorBase< R, P1, P2, P3, P4 >::tParam1

Types of functor parameters.

template<typename R , typename P1 = tNull, typename P2 = tNull, typename P3 = tNull, typename P4 = tNull>
typedef CTypeTraits<P2>::tParameter mds::base::CFunctorBase< R, P1, P2, P3, P4 >::tParam2
template<typename R , typename P1 = tNull, typename P2 = tNull, typename P3 = tNull, typename P4 = tNull>
typedef CTypeTraits<P3>::tParameter mds::base::CFunctorBase< R, P1, P2, P3, P4 >::tParam3
template<typename R , typename P1 = tNull, typename P2 = tNull, typename P3 = tNull, typename P4 = tNull>
typedef CTypeTraits<P4>::tParameter mds::base::CFunctorBase< R, P1, P2, P3, P4 >::tParam4
template<typename R , typename P1 = tNull, typename P2 = tNull, typename P3 = tNull, typename P4 = tNull>
typedef R mds::base::CFunctorBase< R, P1, P2, P3, P4 >::tResult

Type of the functor result.


Member Enumeration Documentation

template<typename R , typename P1 = tNull, typename P2 = tNull, typename P3 = tNull, typename P4 = tNull>
anonymous enum

Number of functor parameters.

Enumerator:
NUM_OF_PARAMS 

Constructor & Destructor Documentation

template<typename R , typename P1 = tNull, typename P2 = tNull, typename P3 = tNull, typename P4 = tNull>
virtual mds::base::CFunctorBase< R, P1, P2, P3, P4 >::~CFunctorBase ( ) [virtual]

Virtual destructor.


Member Function Documentation

template<typename R , typename P1 = tNull, typename P2 = tNull, typename P3 = tNull, typename P4 = tNull>
virtual CFunctorBase* mds::base::CFunctorBase< R, P1, P2, P3, P4 >::clone ( ) const [pure virtual]

Creates a new copy of the functor object.

template<typename R , typename P1 = tNull, typename P2 = tNull, typename P3 = tNull, typename P4 = tNull>
virtual R mds::base::CFunctorBase< R, P1, P2, P3, P4 >::operator() ( tParam1  ,
tParam2  ,
tParam3  ,
tParam4   
) [pure virtual]

Virtual function operator.


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