CMS 3D CMS Logo

funct::FunctExpression Struct Reference

#include <PhysicsTools/Utilities/interface/Expression.h>

List of all members.

Public Member Functions

 FunctExpression (const FunctExpression &e)
template<typename F>
 FunctExpression (const F &f)
 FunctExpression ()
double operator() (double x) const
FunctExpressionoperator= (const FunctExpression &e)

Private Attributes

std::auto_ptr< AbsFunctExpression_f


Detailed Description

Definition at line 59 of file Expression.h.


Constructor & Destructor Documentation

funct::FunctExpression::FunctExpression (  )  [inline]

Definition at line 60 of file Expression.h.

00060 { }

template<typename F>
funct::FunctExpression::FunctExpression ( const F &  f  )  [inline]

Definition at line 62 of file Expression.h.

00062 : _f(new FunctExpressionT<F>(f)) { }

funct::FunctExpression::FunctExpression ( const FunctExpression e  )  [inline]

Definition at line 63 of file Expression.h.

00063 : _f(e._f->clone()) { }


Member Function Documentation

double funct::FunctExpression::operator() ( double  x  )  const [inline]

Definition at line 65 of file Expression.h.

References _f.

00065 { return (*_f)(x); }

FunctExpression& funct::FunctExpression::operator= ( const FunctExpression e  )  [inline]

Definition at line 64 of file Expression.h.

References _f.

00064 { _f.reset(e._f->clone()); return *this; }


Member Data Documentation

std::auto_ptr<AbsFunctExpression> funct::FunctExpression::_f [private]

Definition at line 67 of file Expression.h.

Referenced by operator()(), and operator=().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:47:01 2009 for CMSSW by  doxygen 1.5.4