CMS 3D CMS Logo

funct::MinusStruct< A > Struct Template Reference

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

List of all members.

Public Member Functions

 MinusStruct (const A &a)
 MinusStruct ()
 operator double () const
double operator() (double x, double y) const
double operator() (double x) const
double operator() () const

Public Attributes

A _


Detailed Description

template<typename A>
struct funct::MinusStruct< A >

Definition at line 7 of file Minus.h.


Constructor & Destructor Documentation

template<typename A>
funct::MinusStruct< A >::MinusStruct (  )  [inline]

Definition at line 8 of file Minus.h.

00008 : _() { }

template<typename A>
funct::MinusStruct< A >::MinusStruct ( const A a  )  [inline]

Definition at line 9 of file Minus.h.

00009 : _(a) { }


Member Function Documentation

template<typename A>
funct::MinusStruct< A >::operator double (  )  const [inline]

Definition at line 10 of file Minus.h.

References funct::MinusStruct< A >::_.

00010                             {
00011       return - _();
00012     }

template<typename A>
double funct::MinusStruct< A >::operator() ( double  x,
double  y 
) const [inline]

Definition at line 19 of file Minus.h.

References funct::MinusStruct< A >::_.

00019                                                 {
00020       return - _(x, y);
00021     }

template<typename A>
double funct::MinusStruct< A >::operator() ( double  x  )  const [inline]

Definition at line 16 of file Minus.h.

References funct::MinusStruct< A >::_.

00016                                       {
00017       return - _(x);
00018     }

template<typename A>
double funct::MinusStruct< A >::operator() ( void   )  const [inline]

Definition at line 13 of file Minus.h.

References funct::MinusStruct< A >::_.

00013                               {
00014       return - _();
00015     }


Member Data Documentation

template<typename A>
A funct::MinusStruct< A >::_

Definition at line 22 of file Minus.h.

Referenced by funct::MinusStruct< A >::operator double(), and funct::MinusStruct< A >::operator()().


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