LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
art::ComparePtrs< COMP > Class Template Reference

#include "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  }

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: