test
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::Functor1< Result, Arg1 > Struct Template Referenceabstract

#include <SimpleFunctors.h>

Inheritance diagram for npstat::Functor1< Result, Arg1 >:
npstat::CastingCopyConstructor< Result, Arg1, CastType > npstat::DefaultConstructor1< Result, Arg1 > npstat::FcnFunctor1< Result, Arg1 >

Public Types

typedef Arg1 first_argument_type
 
typedef Result result_type
 

Public Member Functions

virtual Result operator() (const Arg1 &) const =0
 
virtual ~Functor1 ()
 

Detailed Description

template<typename Result, typename Arg1>
struct npstat::Functor1< Result, Arg1 >

Base class for a functor that takes a single argument

Definition at line 28 of file SimpleFunctors.h.

Member Typedef Documentation

template<typename Result, typename Arg1>
typedef Arg1 npstat::Functor1< Result, Arg1 >::first_argument_type

Definition at line 31 of file SimpleFunctors.h.

template<typename Result, typename Arg1>
typedef Result npstat::Functor1< Result, Arg1 >::result_type

Definition at line 30 of file SimpleFunctors.h.

Constructor & Destructor Documentation

template<typename Result, typename Arg1>
virtual npstat::Functor1< Result, Arg1 >::~Functor1 ( )
inlinevirtual

Definition at line 33 of file SimpleFunctors.h.

33 {}

Member Function Documentation

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