CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::RangeMap< ID, C, P >::comp< CMP > Struct Template Reference

comparator helper class More...

Public Member Functions

 comp (const CMP c)
 
bool operator() (ID id, const typename mapType::value_type &p)
 
bool operator() (const typename mapType::value_type &p, ID id)
 

Private Attributes

CMP cmp
 

Detailed Description

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
template<typename CMP>
struct edm::RangeMap< ID, C, P >::comp< CMP >

comparator helper class

Definition at line 55 of file RangeMap.h.

Constructor & Destructor Documentation

◆ comp()

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
template<typename CMP >
edm::RangeMap< ID, C, P >::comp< CMP >::comp ( const CMP  c)
inline

Definition at line 56 of file RangeMap.h.

56 : cmp(c) {}

Member Function Documentation

◆ operator()() [1/2]

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
template<typename CMP >
bool edm::RangeMap< ID, C, P >::comp< CMP >::operator() ( ID  id,
const typename mapType::value_type &  p 
)
inline

◆ operator()() [2/2]

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
template<typename CMP >
bool edm::RangeMap< ID, C, P >::comp< CMP >::operator() ( const typename mapType::value_type &  p,
ID  id 
)
inline

Member Data Documentation

◆ cmp

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
template<typename CMP >
CMP edm::RangeMap< ID, C, P >::comp< CMP >::cmp
private

Definition at line 61 of file RangeMap.h.

Referenced by edm::RangeMap< ID, C, P >::comp< CMP >::operator()().