ARTS  2.2.66
IndexComp< T > Class Template Reference

IndexComp. More...

#include <sorting.h>

Inheritance diagram for IndexComp< T >:
Collaboration diagram for IndexComp< T >:

Public Member Functions

 IndexComp (const T &data)
 
bool operator() (Index a, Index b) const
 

Private Attributes

const T & m_data
 

Detailed Description

template<typename T>
class IndexComp< T >

IndexComp.

Functor for the comparison function used by get_sorted_indexes.

Author: Oliver Lemke olemk.nosp@m.e@co.nosp@m.re-du.nosp@m.mp.i.nosp@m.nfo Date: 2003-08-20

Definition at line 50 of file sorting.h.

Constructor & Destructor Documentation

◆ IndexComp()

template<typename T >
IndexComp< T >::IndexComp ( const T &  data)
inline

Definition at line 55 of file sorting.h.

Member Function Documentation

◆ operator()()

template<typename T >
bool IndexComp< T >::operator() ( Index  a,
Index  b 
) const
inline

Definition at line 57 of file sorting.h.

Member Data Documentation

◆ m_data

template<typename T >
const T& IndexComp< T >::m_data
private

Definition at line 52 of file sorting.h.


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