OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TFunctor0< R > Class Template Reference

Functor with 0 parameters, return R. More...

#include <owl/functor.h>

Inheritance diagram for owl::TFunctor0< R >:
owl::TFunctorBase owl::TFunctionTranslator0< R, Funct > owl::TMemberTranslator0< R, TCallee, TMemFunc >

Public Member Functions

 TFunctor0 ()
R operator() () const
Public Member Functions inherited from owl::TFunctorBase
 operator bool () const
 TFunctorBase ()
 TFunctorBase (const void *c, const void *f, size_t sz)

Protected Types

typedef R(*) TThunk(const TFunctorBase &)

Protected Member Functions

 TFunctor0 (THUNKREF(TThunk) t, const void *c, const void *f, size_t sz)

Additional Inherited Members

Public Types inherited from owl::TFunctorBase
typedef void(TFunctorBase::*) TMemberFunc()
Public Attributes inherited from owl::TFunctorBase
union  
void * Callee

Detailed Description

template<class R>
class owl::TFunctor0< R >

Functor with 0 parameters, return R.

Definition at line 155 of file functor.h.

Member Typedef Documentation

◆ TThunk

template<class R>
typedef R(*) owl::TFunctor0< R >::TThunk(const TFunctorBase &)
protected

Definition at line 164 of file functor.h.

Constructor & Destructor Documentation

◆ TFunctor0() [1/2]

template<class R>
owl::TFunctor0< R >::TFunctor0 ( )
inline

Definition at line 157 of file functor.h.

◆ TFunctor0() [2/2]

template<class R>
owl::TFunctor0< R >::TFunctor0 ( THUNKREF(TThunk) t,
const void * c,
const void * f,
size_t sz )
inlineprotected

Definition at line 165 of file functor.h.

References owl::TFunctorBase::TFunctorBase(), and THUNKREF.

Member Function Documentation

◆ operator()()

template<class R>
R owl::TFunctor0< R >::operator() ( ) const
inline

Definition at line 159 of file functor.h.


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