Sort::CmpGreaterIndex< T > Class Template Reference

#include <InsertionSort.H>

List of all members.

Detailed Description

template<typename T>
class Sort::CmpGreaterIndex< T >

Compares m_a[i] > m_a[j].

Allows for sorting an index instead of the actual array

Public Member Functions

 CmpGreaterIndex (const T *const a)
bool operator() (const int i, const int j) const

Private Attributes

const T *const m_a

Constructor & Destructor Documentation

template<typename T>
Sort::CmpGreaterIndex< T >::CmpGreaterIndex ( const T *const   a  )  [inline]

Member Function Documentation

template<typename T>
bool Sort::CmpGreaterIndex< T >::operator() ( const int  i,
const int  j 
) const [inline]

Member Data Documentation

template<typename T>
const T* const Sort::CmpGreaterIndex< T >::m_a [private]

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

Generated on Wed Feb 20 03:28:40 2019 for Chombo + EB + MF by  doxygen 1.5.5