IndexComp< T > Class Template Reference

IndexComp. More...

#include <sorting.h>

Collaboration diagram for IndexComp< T >:

Collaboration graph
[legend]

List of all members.

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 <olemke@core-dump.info> Date: 2003-08-20

Definition at line 50 of file sorting.h.


Constructor & Destructor Documentation

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

Definition at line 55 of file sorting.h.


Member Function Documentation

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

Definition at line 57 of file sorting.h.

References IndexComp< T >::m_data.


Member Data Documentation

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

Definition at line 52 of file sorting.h.

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


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

Generated on Mon Mar 23 14:07:00 2009 for ARTS by  doxygen 1.5.6