CMS 3D CMS Logo

funct::AbsStruct< T > Struct Template Reference

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

List of all members.

Public Member Functions

 AbsStruct (const T &t)
 operator double () const
double operator() () const

Public Attributes

_


Detailed Description

template<typename T>
struct funct::AbsStruct< T >

Definition at line 8 of file Abs.h.


Constructor & Destructor Documentation

template<typename T>
funct::AbsStruct< T >::AbsStruct ( const T &  t  )  [inline]

Definition at line 9 of file Abs.h.

00009 : _(t) { }


Member Function Documentation

template<typename T>
funct::AbsStruct< T >::operator double (  )  const [inline]

Definition at line 11 of file Abs.h.

References funct::AbsStruct< T >::_.

00011 { return ::fabs(_()); }

template<typename T>
double funct::AbsStruct< T >::operator() ( void   )  const [inline]

Definition at line 10 of file Abs.h.

References funct::AbsStruct< T >::_.

00010 { return ::fabs(_()); }


Member Data Documentation

template<typename T>
T funct::AbsStruct< T >::_

Definition at line 12 of file Abs.h.

Referenced by funct::AbsStruct< T >::operator double(), and funct::AbsStruct< T >::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