DGtal  0.9.4beta
Public Types | Static Public Member Functions
DGtal::detail::ComparatorAdapter< Container, true, false, false > Struct Template Reference

#include <DGtal/base/SetFunctions.h>

Public Types

typedef Container::value_type value_type
 
typedef Container::key_type key_type
 
typedef std::less< key_typeLessThanPredicate
 
typedef std::equal_to< key_typeEqualPredicate
 

Static Public Member Functions

static LessThanPredicate less (const Container &)
 
static EqualPredicate equal_to (const Container &)
 
static const key_typekey (const value_type &value)
 

Detailed Description

template<typename Container>
struct DGtal::detail::ComparatorAdapter< Container, true, false, false >

unordered set-like adapter.

Definition at line 147 of file SetFunctions.h.

Member Typedef Documentation

template<typename Container >
typedef std::equal_to< key_type > DGtal::detail::ComparatorAdapter< Container, true, false, false >::EqualPredicate

Definition at line 152 of file SetFunctions.h.

template<typename Container >
typedef Container::key_type DGtal::detail::ComparatorAdapter< Container, true, false, false >::key_type

Definition at line 150 of file SetFunctions.h.

template<typename Container >
typedef std::less< key_type > DGtal::detail::ComparatorAdapter< Container, true, false, false >::LessThanPredicate

Definition at line 151 of file SetFunctions.h.

template<typename Container >
typedef Container::value_type DGtal::detail::ComparatorAdapter< Container, true, false, false >::value_type

Definition at line 149 of file SetFunctions.h.

Member Function Documentation

template<typename Container >
static EqualPredicate DGtal::detail::ComparatorAdapter< Container, true, false, false >::equal_to ( const Container &  )
inlinestatic

Definition at line 157 of file SetFunctions.h.

158  {
159  return EqualPredicate();
160  }
template<typename Container >
static const key_type& DGtal::detail::ComparatorAdapter< Container, true, false, false >::key ( const value_type value)
inlinestatic

Definition at line 161 of file SetFunctions.h.

162  {
163  return value;
164  }
template<typename Container >
static LessThanPredicate DGtal::detail::ComparatorAdapter< Container, true, false, false >::less ( const Container &  )
inlinestatic

Definition at line 153 of file SetFunctions.h.

154  {
155  return LessThanPredicate();
156  }

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