CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
funct::ExpressionT< F > Struct Template Reference

#include <Expression.h>

Inheritance diagram for funct::ExpressionT< F >:
funct::AbsExpression

Public Member Functions

virtual AbsExpressionclone () const
 
 ExpressionT (const F &f)
 
virtual double operator() () const
 
virtual std::ostream & print (std::ostream &cout) const
 
virtual ~ExpressionT ()
 
- Public Member Functions inherited from funct::AbsExpression
virtual ~AbsExpression ()
 

Private Attributes

F _f
 

Detailed Description

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

Definition at line 17 of file Expression.h.

Constructor & Destructor Documentation

template<typename F >
funct::ExpressionT< F >::ExpressionT ( const F f)
inline

Definition at line 18 of file Expression.h.

18 : _f(f) {}
double f[11][100]
template<typename F >
virtual funct::ExpressionT< F >::~ExpressionT ( )
inlinevirtual

Definition at line 19 of file Expression.h.

19 { }

Member Function Documentation

template<typename F >
virtual AbsExpression* funct::ExpressionT< F >::clone ( void  ) const
inlinevirtual

Implements funct::AbsExpression.

Definition at line 21 of file Expression.h.

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

21 { return new ExpressionT<F>(_f); }
template<typename F >
virtual double funct::ExpressionT< F >::operator() ( ) const
inlinevirtual

Implements funct::AbsExpression.

Definition at line 20 of file Expression.h.

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

20 { return _f(); }
template<typename F >
virtual std::ostream& funct::ExpressionT< F >::print ( std::ostream &  cout) const
inlinevirtual

Implements funct::AbsExpression.

Definition at line 22 of file Expression.h.

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

22 { return cout << _f; }
tuple cout
Definition: gather_cfg.py:145

Member Data Documentation

template<typename F >
F funct::ExpressionT< F >::_f
private