CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
npstat::Functor0< Result > Struct Template Referenceabstract

#include <SimpleFunctors.h>

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

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 ( )
inlinevirtual

Definition at line 22 of file SimpleFunctors.h.

22 {}

Member Function Documentation

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