#include <PhysicsTools/Utilities/interface/PointerComparator.h>
Public Types | |
typedef C::first_argument_type | first_argument_type |
typedef C::second_argument_type | second_argument_type |
Public Member Functions | |
bool | operator() (const first_argument_type *t1, const second_argument_type *t2) const |
Public Attributes | |
C | cmp |
Definition at line 17 of file PointerComparator.h.
typedef C::first_argument_type PointerComparator< C >::first_argument_type |
Definition at line 18 of file PointerComparator.h.
typedef C::second_argument_type PointerComparator< C >::second_argument_type |
Definition at line 19 of file PointerComparator.h.
bool PointerComparator< C >::operator() | ( | const first_argument_type * | t1, | |
const second_argument_type * | t2 | |||
) | const [inline] |
Definition at line 20 of file PointerComparator.h.
References PointerComparator< C >::cmp, and edm::errors::NullPointerError.
00020 { 00021 if ( t1 == 0 || t2 == 0 ) 00022 throw edm::Exception( edm::errors::NullPointerError ) 00023 << "PointerComparator: passed null pointer."; 00024 return cmp( *t1, *t2 ); 00025 }
C PointerComparator< C >::cmp |
Definition at line 26 of file PointerComparator.h.
Referenced by PointerComparator< C >::operator()().