CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
npstat::Functor3< Result, Arg1, Arg2, Arg3 > Struct Template Referenceabstract

#include <SimpleFunctors.h>

Inheritance diagram for npstat::Functor3< Result, Arg1, Arg2, Arg3 >:
npstat::DefaultConstructor3< Result, Arg1, Arg2, Arg3 > npstat::FcnFunctor3< Result, Arg1, Arg2, Arg3 >

Public Types

typedef Arg1 first_argument_type
 
typedef Result result_type
 
typedef Arg2 second_argument_type
 
typedef Arg3 third_argument_type
 

Public Member Functions

virtual Result operator() (const Arg1 &, const Arg2 &, const Arg3 &) const =0
 
virtual ~Functor3 ()
 

Detailed Description

template<typename Result, typename Arg1, typename Arg2, typename Arg3>
struct npstat::Functor3< Result, Arg1, Arg2, Arg3 >

Base class for a functor that takes three arguments

Definition at line 51 of file SimpleFunctors.h.

Member Typedef Documentation

template<typename Result , typename Arg1 , typename Arg2 , typename Arg3 >
typedef Arg1 npstat::Functor3< Result, Arg1, Arg2, Arg3 >::first_argument_type

Definition at line 54 of file SimpleFunctors.h.

template<typename Result , typename Arg1 , typename Arg2 , typename Arg3 >
typedef Result npstat::Functor3< Result, Arg1, Arg2, Arg3 >::result_type

Definition at line 53 of file SimpleFunctors.h.

template<typename Result , typename Arg1 , typename Arg2 , typename Arg3 >
typedef Arg2 npstat::Functor3< Result, Arg1, Arg2, Arg3 >::second_argument_type

Definition at line 55 of file SimpleFunctors.h.

template<typename Result , typename Arg1 , typename Arg2 , typename Arg3 >
typedef Arg3 npstat::Functor3< Result, Arg1, Arg2, Arg3 >::third_argument_type

Definition at line 56 of file SimpleFunctors.h.

Constructor & Destructor Documentation

template<typename Result , typename Arg1 , typename Arg2 , typename Arg3 >
virtual npstat::Functor3< Result, Arg1, Arg2, Arg3 >::~Functor3 ( )
inlinevirtual

Definition at line 58 of file SimpleFunctors.h.

References npstat::Functor0< Result >::operator()().

58 {}

Member Function Documentation

template<typename Result , typename Arg1 , typename Arg2 , typename Arg3 >
virtual Result npstat::Functor3< Result, Arg1, Arg2, Arg3 >::operator() ( const Arg1 &  ,
const Arg2 &  ,
const Arg3 &   
) const
pure virtual