CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

reco::BinOp< A, Operation, B > Class Template Reference

#include <Expressions.h>

List of all members.

Public Types

typedef A::ArgType ArgType
typedef Operation::RetType RetType

Public Member Functions

 BinOp (const A &A, const B &B)
RetType operator() (const ArgType &x) const

Private Attributes

mA
B mB

Detailed Description

template<class A, class Operation, class B>
class reco::BinOp< A, Operation, B >

Definition at line 196 of file Expressions.h.


Member Typedef Documentation

template<class A , class Operation , class B >
typedef A::ArgType reco::BinOp< A, Operation, B >::ArgType

Definition at line 199 of file Expressions.h.

template<class A , class Operation , class B >
typedef Operation::RetType reco::BinOp< A, Operation, B >::RetType

Definition at line 198 of file Expressions.h.


Constructor & Destructor Documentation

template<class A , class Operation , class B >
reco::BinOp< A, Operation, B >::BinOp ( const A &  A,
const B B 
) [inline]

Definition at line 201 of file Expressions.h.

                                   :mA(A), mB(B)
      { };

Member Function Documentation

template<class A , class Operation , class B >
RetType reco::BinOp< A, Operation, B >::operator() ( const ArgType x) const [inline]

Definition at line 204 of file Expressions.h.

References reco::BinOp< A, Operation, B >::mA, and reco::BinOp< A, Operation, B >::mB.

      {return Operation::apply( mA(x), mB(x) );}

Member Data Documentation

template<class A , class Operation , class B >
A reco::BinOp< A, Operation, B >::mA [private]

Definition at line 208 of file Expressions.h.

Referenced by reco::BinOp< A, Operation, B >::operator()().

template<class A , class Operation , class B >
B reco::BinOp< A, Operation, B >::mB [private]

Definition at line 209 of file Expressions.h.

Referenced by reco::BinOp< A, Operation, B >::operator()().