test
CMS 3D CMS Logo

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

#include <Abs.h>

Public Member Functions

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

Public Attributes

T _
 

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.

9 : _(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 >::_.

11 { return ::fabs(_()); }
template<typename T >
double funct::AbsStruct< T >::operator() ( ) const
inline

Definition at line 10 of file Abs.h.

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

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

Member Data Documentation

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