| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

LHCb::Math::Equal_To< TYPE > Struct Template Reference

helper structure for comparison of floating values More...

#include <LHCbMath.h>

Inheritance diagram for LHCb::Math::Equal_To< TYPE >:

[legend]
List of all members.

Public Types

typedef boost::call_traits<
const TYPE >::param_type 
T

Public Member Functions

 Equal_To (T)
 constructor
bool operator() (T v1, T v2) const
 comparison

Detailed Description

template<class TYPE>
struct LHCb::Math::Equal_To< TYPE >

helper structure for comparison of floating values

Author:
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2007-11-27

Definition at line 119 of file LHCbMath.h.


Member Typedef Documentation

template<class TYPE>
typedef boost::call_traits<const TYPE>::param_type LHCb::Math::Equal_To< TYPE >::T

Definition at line 121 of file LHCbMath.h.


Constructor & Destructor Documentation

template<class TYPE>
LHCb::Math::Equal_To< TYPE >::Equal_To ( T   )  [inline]

constructor

Definition at line 123 of file LHCbMath.h.

00123 {}


Member Function Documentation

template<class TYPE>
bool LHCb::Math::Equal_To< TYPE >::operator() ( T  v1,
T  v2 
) const [inline]

comparison

Definition at line 125 of file LHCbMath.h.

00126       {
00127         std::equal_to<TYPE> cmp ;
00128         return cmp ( v1 , v2 ) ;
00129       }


The documentation for this struct was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:02:59 2011 for LHCbMath by doxygen 1.4.7