DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::detail::ComparatorAdapter< Container, true, false, false > Struct Template Reference

unordered set-like adapter. More...

#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

◆ EqualPredicate

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.

◆ key_type

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

Definition at line 150 of file SetFunctions.h.

◆ LessThanPredicate

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

Definition at line 151 of file SetFunctions.h.

◆ value_type

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

◆ equal_to()

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 }

◆ key()

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 }

◆ less()

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

Definition at line 153 of file SetFunctions.h.


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