LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::ComparePtrs< Comp > Class Template Reference

#include "PtrVector.h"

Public Member Functions

 ComparePtrs (Comp const 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 27 of file PtrVector.h.

Constructor & Destructor Documentation

template<typename Comp >
art::ComparePtrs< Comp >::ComparePtrs ( Comp const  comp)
inline

Definition at line 29 of file PtrVector.h.

29 : 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 32 of file PtrVector.h.

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

33  {
34  return comp_(*a, *b);
35  }

Member Data Documentation

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

Definition at line 38 of file PtrVector.h.

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


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