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 | Private Attributes
reco::ExprUserFun< Value, ActON > Class Template Reference

#include <Expressions.h>

Public Types

typedef ActON ArgType
 
typedef Value RetType
 

Public Member Functions

 ExprUserFun (Value(ActON::*aFun)() const )
 
RetType operator() (const ArgType &x) const
 

Private Attributes

RetType(ActON::* mFun )() const
 

Detailed Description

template<class Value, class ActON>
class reco::ExprUserFun< Value, ActON >

Definition at line 82 of file Expressions.h.

Member Typedef Documentation

template<class Value , class ActON >
typedef ActON reco::ExprUserFun< Value, ActON >::ArgType

Definition at line 86 of file Expressions.h.

template<class Value , class ActON >
typedef Value reco::ExprUserFun< Value, ActON >::RetType

Definition at line 85 of file Expressions.h.

Constructor & Destructor Documentation

template<class Value , class ActON >
reco::ExprUserFun< Value, ActON >::ExprUserFun ( Value(ActON::*)() const  aFun)
inline

Definition at line 88 of file Expressions.h.

References reco::ExprUserFun< Value, ActON >::mFun.

89  {mFun = aFun;};
RetType(ActON::* mFun)() const
Definition: Expressions.h:95

Member Function Documentation

template<class Value , class ActON >
RetType reco::ExprUserFun< Value, ActON >::operator() ( const ArgType x) const
inline

Definition at line 91 of file Expressions.h.

References reco::ExprUserFun< Value, ActON >::mFun.

92  {return (x.*mFun)();}
RetType(ActON::* mFun)() const
Definition: Expressions.h:95

Member Data Documentation

template<class Value , class ActON >
RetType(ActON::* reco::ExprUserFun< Value, ActON >::mFun)() const
private