DGtal  0.9.4beta
Public Member Functions | Data Fields
DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T > Struct Template Reference

#include <DGtal/base/SetFunctions.h>

Public Member Functions

 EqualPredicateFromLessThanComparator (LessThan aCompare)
 
bool operator() (const T &t1, const T &t2) const
 

Data Fields

LessThan compare
 

Detailed Description

template<typename LessThan, typename T>
struct DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T >

Definition at line 53 of file SetFunctions.h.

Constructor & Destructor Documentation

template<typename LessThan , typename T >
DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T >::EqualPredicateFromLessThanComparator ( LessThan  aCompare)
inline

Definition at line 55 of file SetFunctions.h.

Member Function Documentation

template<typename LessThan , typename T >
bool DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T >::operator() ( const T &  t1,
const T &  t2 
) const
inline

Definition at line 57 of file SetFunctions.h.

References DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T >::compare.

58  {
59  return ( ! compare( t1, t2 ) ) && ( ! compare( t2, t1 ) );
60  }

Field Documentation

template<typename LessThan , typename T >
LessThan DGtal::detail::EqualPredicateFromLessThanComparator< LessThan, T >::compare

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