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::Expr< AnExpr > Class Template Reference

#include <Expressions.h>

Inheritance diagram for reco::Expr< AnExpr >:
reco::ExprBase< AnExpr::RetType >

Public Types

typedef AnExpr::ArgType ArgType
 
typedef AnExpr::RetType RetType
 

Public Member Functions

 Expr (const AnExpr &expr=AnExpr())
 
RetType operator() (const ArgType &x) const
 
- Public Member Functions inherited from reco::ExprBase< AnExpr::RetType >
virtual ExprBaseclone ()
 
 ExprBase ()
 
virtual bool operator() (const AnExpr::RetType &x) const
 

Private Attributes

AnExpr mExpr
 

Detailed Description

template<class AnExpr>
class reco::Expr< AnExpr >

Definition at line 34 of file Expressions.h.

Member Typedef Documentation

template<class AnExpr>
typedef AnExpr::ArgType reco::Expr< AnExpr >::ArgType

Definition at line 36 of file Expressions.h.

template<class AnExpr>
typedef AnExpr::RetType reco::Expr< AnExpr >::RetType

Definition at line 37 of file Expressions.h.

Constructor & Destructor Documentation

template<class AnExpr>
reco::Expr< AnExpr >::Expr ( const AnExpr< AnExpr > &  expr = AnExpr< AnExpr >())
inline

Definition at line 39 of file Expressions.h.

39 :mExpr(expr) {};
AnExpr mExpr
Definition: Expressions.h:44

Member Function Documentation

template<class AnExpr>
RetType reco::Expr< AnExpr >::operator() ( const ArgType x) const
inline

Definition at line 40 of file Expressions.h.

References reco::Expr< AnExpr >::mExpr.

41  { return mExpr(x); }
AnExpr mExpr
Definition: Expressions.h:44

Member Data Documentation

template<class AnExpr>
AnExpr reco::Expr< AnExpr >::mExpr
private

Definition at line 44 of file Expressions.h.

Referenced by reco::Expr< AnExpr >::operator()().