CMS 3D CMS Logo

Public Member Functions | Private Attributes

funct::FunctExpressionT< F > Struct Template Reference

#include <Expression.h>

Inheritance diagram for funct::FunctExpressionT< F >:
funct::AbsFunctExpression

List of all members.

Public Member Functions

virtual AbsFunctExpressionclone () const
 FunctExpressionT (const F &f)
virtual double operator() (double x) const
virtual ~FunctExpressionT ()

Private Attributes

_f

Detailed Description

template<typename F>
struct funct::FunctExpressionT< F >

Definition at line 50 of file Expression.h.


Constructor & Destructor Documentation

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

Definition at line 51 of file Expression.h.

: _f(f) {}
template<typename F >
virtual funct::FunctExpressionT< F >::~FunctExpressionT ( ) [inline, virtual]

Definition at line 52 of file Expression.h.

{ }

Member Function Documentation

template<typename F >
virtual AbsFunctExpression* funct::FunctExpressionT< F >::clone ( void  ) const [inline, virtual]

Implements funct::AbsFunctExpression.

Definition at line 54 of file Expression.h.

References funct::FunctExpressionT< F >::_f.

{ return new FunctExpressionT<F>(_f); }
template<typename F >
virtual double funct::FunctExpressionT< F >::operator() ( double  x) const [inline, virtual]

Implements funct::AbsFunctExpression.

Definition at line 53 of file Expression.h.

References funct::FunctExpressionT< F >::_f.

{ return _f(x); }

Member Data Documentation

template<typename F >
F funct::FunctExpressionT< F >::_f [private]