Public Member Functions | Private Attributes

LessIndexString1< IndexType > Class Template Reference

#include <DDCLessOperators.h>

Inheritance diagram for LessIndexString1< IndexType >:
Inheritance graph
[legend]
Collaboration diagram for LessIndexString1< IndexType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Private Attributes


Detailed Description

template<class IndexType>
class LessIndexString1< IndexType >

LessIndexString1 is a template operator "less" for an index set (the first version) This less operator provides quite "normal" less and equal operators for stings. The only difference is that the first compared item is obtained not by a pointer, but by an offset to LessIndexString1::m_pBuffer.


Constructor & Destructor Documentation

template<class IndexType>
LessIndexString1< IndexType >::LessIndexString1 ( const vector< char > *  pBuffer  )  [inline]

Member Function Documentation

template<class IndexType>
bool LessIndexString1< IndexType >::operator() ( const IndexType &  Ref,
const char *  S2 
) const [inline]

operator less for strings

template<class IndexType>
bool LessIndexString1< IndexType >::operator() ( const char *  S1,
const IndexType &  Ref 
) const [inline]
template<class IndexType>
bool LessIndexString1< IndexType >::operator() ( const IndexType &  Ref1,
const IndexType &  Ref2 
) const [inline]
template<class IndexType>
bool LessIndexString1< IndexType >::are_equal ( const IndexType &  Ref,
const char *  S2 
) const [inline]

operator == for strings

Referenced by CIndexSetForLoadingStage::FindIndexItemInVector().

Here is the caller graph for this function:


Member Data Documentation

template<class IndexType>
const vector<char>* LessIndexString1< IndexType >::m_pBuffer [private]

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