CMS 3D CMS Logo

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

◆ result_type

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

Definition at line 19 of file SimpleFunctors.h.

Constructor & Destructor Documentation

◆ ~Functor0()

template<typename Result >
virtual npstat::Functor0< Result >::~Functor0 ( )
inlinevirtual

Definition at line 21 of file SimpleFunctors.h.

21 {}

Member Function Documentation

◆ operator()()

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