DGtal  0.9.4beta
Public Member Functions
DGtal::LabelledMap< TData, L, TWord, N, M >::ValueCompare Class Reference

#include <DGtal/base/LabelledMap.h>

Public Member Functions

 ValueCompare ()
 
bool operator() (const Value &v1, const Value &v2) 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 >::ValueCompare

Value comparator class. Always natural ordering between keys.

Definition at line 741 of file LabelledMap.h.

Constructor & Destructor Documentation

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

Definition at line 743 of file LabelledMap.h.

743 {}

Member Function Documentation

template<typename TData, unsigned int L, typename TWord, unsigned int N, unsigned int M>
bool DGtal::LabelledMap< TData, L, TWord, N, M >::ValueCompare::operator() ( const Value v1,
const Value v2 
) const
inline

Definition at line 744 of file LabelledMap.h.

745  {
746  return v1.first < v2.first;
747  }

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