Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Attributes | List of all members
IntsInRangeLess Struct Reference

comparator for two doubles with a tolerance value More...

#include <OpenMS/DATASTRUCTURES/SuffixArraySeqan.h>

Inheritance diagram for IntsInRangeLess:

Public Member Functions

 IntsInRangeLess (const int &s, const int &e)
 constructor More...
 
 IntsInRangeLess (const IntsInRangeLess &source)
 copy constructor More...
 
bool operator() (int f1, int f2) const
 implementation of the '<' operator for two doubles with the tolerance value More...
 

Protected Attributes

int const & start_
 start index More...
 
int const & end_
 end index More...
 

Detailed Description

comparator for two doubles with a tolerance value

Todo:
Think about that this does and if it is really necessary (why double, double????) (Andreas, Clemens)

Constructor & Destructor Documentation

IntsInRangeLess ( const int &  s,
const int &  e 
)
inline

constructor

Parameters
tconst reference to the tolerance
IntsInRangeLess ( const IntsInRangeLess source)
inline

copy constructor

Member Function Documentation

bool operator() ( int  f1,
int  f2 
) const
inline

implementation of the '<' operator for two doubles with the tolerance value

Parameters
f1first double
f2second double
Returns
true if first double '<' second double-tolerance

References IntsInRangeLess::end_, and IntsInRangeLess::start_.

Member Data Documentation

int const& end_
protected

end index

Referenced by IntsInRangeLess::operator()().

int const& start_
protected

start index

Referenced by IntsInRangeLess::operator()().


OpenMS / TOPP release 2.0.0 Documentation generated on Wed Mar 30 2016 16:18:46 using doxygen 1.8.5