CMS 3D CMS Logo

Public Types | Public Member Functions

npstat::Functor0< Result > Struct Template Reference

#include <SimpleFunctors.h>

Inheritance diagram for npstat::Functor0< Result >:
npstat::DefaultConstructor0< Result > npstat::FcnFunctor0< Result >

List of all members.

Public Types

typedef Result result_type

Public Member Functions

virtual Result operator() () const =0
virtual ~Functor0 ()

Detailed Description

template<typename Result>
struct npstat::Functor0< Result >

Base class for a functor that takes no arguments

Definition at line 18 of file SimpleFunctors.h.


Member Typedef Documentation

template<typename Result >
typedef Result npstat::Functor0< Result >::result_type

Definition at line 20 of file SimpleFunctors.h.


Constructor & Destructor Documentation

template<typename Result >
virtual npstat::Functor0< Result >::~Functor0 ( ) [inline, virtual]

Definition at line 22 of file SimpleFunctors.h.

{}

Member Function Documentation

template<typename Result >
virtual Result npstat::Functor0< Result >::operator() ( ) const [pure virtual]