casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::NearAbs< L, R > Struct Template Reference

Functor to test for if two values are absolutely near each other. More...

#include <Functors.h>

List of all members.

Public Member Functions

 NearAbs (double tolerance=1e-13)
bool operator() (L left, R right) const

Private Attributes

double itsTolerance

Detailed Description

template<typename L, typename R = L>
struct casa::NearAbs< L, R >

Functor to test for if two values are absolutely near each other.

Definition at line 296 of file Functors.h.


Constructor & Destructor Documentation

template<typename L , typename R = L>
casa::NearAbs< L, R >::NearAbs ( double  tolerance = 1e-13) [inline, explicit]

Definition at line 298 of file Functors.h.


Member Function Documentation

template<typename L , typename R = L>
bool casa::NearAbs< L, R >::operator() ( left,
right 
) const [inline]

Definition at line 301 of file Functors.h.

References casa::NearAbs< L, R >::itsTolerance, and casa::nearAbs().


Member Data Documentation

template<typename L , typename R = L>
double casa::NearAbs< L, R >::itsTolerance [private]

Definition at line 304 of file Functors.h.

Referenced by casa::NearAbs< L, R >::operator()().


The documentation for this struct was generated from the following file: