CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

reco::ExprUserFun< Value, ActON > Class Template Reference

#include <Expressions.h>

List of all members.

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.

    {mFun = aFun;};

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.

    {return (x.*mFun)();}

Member Data Documentation

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