DGtal  1.5.beta
DGtal::LabelledMap< TData, L, TWord, N, M >::KeyCompare Class Reference

Key comparator class. Always natural ordering. More...

#include <DGtal/base/LabelledMap.h>

Public Member Functions

 KeyCompare ()
 
bool operator() (Key k1, Key k2) const
 

Detailed Description

template<typename TData, unsigned int L, typename TWord, unsigned int N, unsigned int M>
class DGtal::LabelledMap< TData, L, TWord, N, M >::KeyCompare

Key comparator class. Always natural ordering.

Definition at line 732 of file LabelledMap.h.

Constructor & Destructor Documentation

◆ KeyCompare()

template<typename TData , unsigned int L, typename TWord , unsigned int N, unsigned int M>
DGtal::LabelledMap< TData, L, TWord, N, M >::KeyCompare::KeyCompare ( )
inline

Definition at line 734 of file LabelledMap.h.

734 {}

Member Function Documentation

◆ operator()()

template<typename TData , unsigned int L, typename TWord , unsigned int N, unsigned int M>
bool DGtal::LabelledMap< TData, L, TWord, N, M >::KeyCompare::operator() ( Key  k1,
Key  k2 
) const
inline

Definition at line 735 of file LabelledMap.h.

736  {
737  return k1 < k2;
738  }

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