CompareDesc< T > Struct Template Reference

List of all members.

Public Member Functions

 CompareDesc (T d)
template<typename Index >
bool operator() (Index i1, Index i2)

Public Attributes

fData

Detailed Description

template<typename T>
struct CompareDesc< T >

Definition at line 83 of file cf2rr.cc.


Constructor & Destructor Documentation

template<typename T >
CompareDesc< T >::CompareDesc ( d  )  [inline]

Definition at line 85 of file cf2rr.cc.

00085 : fData(d) {}


Member Function Documentation

template<typename T >
template<typename Index >
bool CompareDesc< T >::operator() ( Index  i1,
Index  i2 
) [inline]

Definition at line 88 of file cf2rr.cc.

References CompareDesc< T >::fData.

00088                                        {
00089       return *(fData + i1) > *(fData + i2);
00090    }


Member Data Documentation

template<typename T >
T CompareDesc< T >::fData

Definition at line 92 of file cf2rr.cc.

Referenced by CompareDesc< T >::operator()().


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

Generated on 3 Oct 2018 for loon by  doxygen 1.6.1