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


Detailed Description

template<typename T>
struct CompareDesc< T >

Definition at line 83 of file

Constructor & Destructor Documentation

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

Definition at line 85 of file

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

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

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

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

Generated on 8 Jul 2019 for loon by  doxygen 1.6.1