golib  0.5
goFunctorBase0< Tret > Class Template Referenceabstract

Base for functor objects with 0 arguments. More...

#include <gofunctor2.h>

Public Member Functions

virtual Tret operator() ()=0
 Purely virtual function. In derived classes, calls the function represented by this functor. More...
 
virtual Tret operator() () const =0
 
virtual goFunctorBase0< Tret > * createCopy () const =0
 
virtual Tret operator() ()=0
 Purely virtual function. In derived classes, calls the function represented by this functor. More...
 
virtual Tret operator() () const =0
 

Detailed Description

template<class Tret>
class goFunctorBase0< Tret >

Base for functor objects with 0 arguments.

Member Function Documentation

◆ operator()() [1/2]

template<class Tret>
virtual Tret goFunctorBase0< Tret >::operator() ( )
pure virtual

Purely virtual function. In derived classes, calls the function represented by this functor.

Returns
Any value.

Implemented in goFunctor0< void, Tclass >, goFunctor0< Tret, Tclass >, goFunctor0< void, Tclass >, goFunction0< void >, goFunctor0< Tret, Tclass >, goFunction0< Tret >, goFunction0< void >, and goFunction0< Tret >.

◆ operator()() [2/2]

template<class Tret>
virtual Tret goFunctorBase0< Tret >::operator() ( )
pure virtual

Purely virtual function. In derived classes, calls the function represented by this functor.

Returns
Any value.

Implemented in goFunctor0< void, Tclass >, goFunctor0< Tret, Tclass >, goFunctor0< void, Tclass >, goFunction0< void >, goFunctor0< Tret, Tclass >, goFunction0< Tret >, goFunction0< void >, and goFunction0< Tret >.


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