Public Member Functions | Private Attributes | List of all members
art::ComparePtrs< COMP > Class Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_06_01/source/canvas/Persistency/Common/PtrVector.h"

Public Member Functions

 ComparePtrs (COMP comp)
 
template<typename T >
bool operator() (Ptr< T > const &a, Ptr< T > const &b)
 

Private Attributes

COMP comp_
 

Detailed Description

template<typename COMP>
class art::ComparePtrs< COMP >

Definition at line 33 of file PtrVector.h.

Constructor & Destructor Documentation

template<typename COMP >
art::ComparePtrs< COMP >::ComparePtrs ( COMP  comp)
inline

Definition at line 35 of file PtrVector.h.

35 : comp_(comp) {}

Member Function Documentation

template<typename COMP >
template<typename T >
bool art::ComparePtrs< COMP >::operator() ( Ptr< T > const &  a,
Ptr< T > const &  b 
)
inline

Definition at line 38 of file PtrVector.h.

References art::ComparePtrs< COMP >::comp_.

39  {
40  return comp_(*a, *b);
41  }
const double a
const hit & b
Definition: hits.cxx:21

Member Data Documentation

template<typename COMP >
COMP art::ComparePtrs< COMP >::comp_
private

Definition at line 44 of file PtrVector.h.

Referenced by art::ComparePtrs< COMP >::operator()().


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