![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Base class for all functors. More...
#include <mdsFunctor.h>
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 CFunctorBase * | clone () 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. | |
Base class for all functors.
| typedef CTypeTraits<P1>::tParameter mds::base::CFunctorBase< R, P1, P2, P3, P4 >::tParam1 |
Types of functor parameters.
| typedef CTypeTraits<P2>::tParameter mds::base::CFunctorBase< R, P1, P2, P3, P4 >::tParam2 |
| typedef CTypeTraits<P3>::tParameter mds::base::CFunctorBase< R, P1, P2, P3, P4 >::tParam3 |
| typedef CTypeTraits<P4>::tParameter mds::base::CFunctorBase< R, P1, P2, P3, P4 >::tParam4 |
| typedef R mds::base::CFunctorBase< R, P1, P2, P3, P4 >::tResult |
Type of the functor result.
| anonymous enum |
| virtual mds::base::CFunctorBase< R, P1, P2, P3, P4 >::~CFunctorBase | ( | ) | [virtual] |
Virtual destructor.
| virtual CFunctorBase* mds::base::CFunctorBase< R, P1, P2, P3, P4 >::clone | ( | ) | const [pure virtual] |
Creates a new copy of the functor object.
| virtual R mds::base::CFunctorBase< R, P1, P2, P3, P4 >::operator() | ( | tParam1 | , |
| tParam2 | , | ||
| tParam3 | , | ||
| tParam4 | |||
| ) | [pure virtual] |
Virtual function operator.
1.7.6.1