| OpenMS 2.5.0

Public Types | Public Member Functions | Private Attributes | List of all members
squared_difference_counted< _Tp, _Dist > Struct Template Reference

`#include <OpenMS/DATASTRUCTURES/KDTree.h>`

## Public Types

typedef _Dist | distance_type

## Public Member Functions

| squared_difference_counted ()
void | reset ()
long & | count () const
distance_type | operator() (const _Tp &__a, const _Tp &__b) const

## Private Attributes

long | _M_count

## Member Typedef Documentation

## ◆ distance_type

typedef _Dist distance_type

## Constructor & Destructor Documentation

## ◆ squared_difference_counted()

squared_difference_counted | ( |  | ) |

inline

## Member Function Documentation

## ◆ count()

long& count | ( |  | ) | const

inline

References squared_difference_counted< _Tp, _Dist >::_M_count.

## ◆ operator()()

distance_type operator() | ( | const _Tp & | __a,
|  | const _Tp & | __b
| ) |  | const

inline

References squared_difference_counted< _Tp, _Dist >::_M_count.

## ◆ reset()

void reset | ( |  | ) |

inline

References squared_difference_counted< _Tp, _Dist >::_M_count.

## Member Data Documentation

## ◆ _M_count

long _M_count

mutable private

Referenced by squared_difference_counted< _Tp, _Dist >::count(), squared_difference_counted< _Tp, _Dist >::operator()(), and squared_difference_counted< _Tp, _Dist >::reset().