CMS 3D CMS Logo

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 >

List of all members.

Public Types

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

Public Member Functions

 Expr (const AnExpr &expr=AnExpr())
RetType operator() (const ArgType &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.

:mExpr(expr) {};

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.

      { return mExpr(x); }

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()().