Public Member Functions | Private Attributes

LessIndexString2< IndexType > Class Template Reference

#include <DDCLessOperators.h>

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

List of all members.

Public Member Functions

Private Attributes


Detailed Description

template<class IndexType>
class LessIndexString2< IndexType >

LessIndexString2 is a template operator "less" for an index set(the second version) This less operator provides quite "normal" less and greater operators for stings. The only difference is that the compared items are obtained not by a pointer, but by an offset to LessIndexString2::m_pBuffer1 and LessIndexString2::m_pBuffer2 accordingly.


Constructor & Destructor Documentation

template<class IndexType>
LessIndexString2< IndexType >::LessIndexString2 ( const vector< char > *  pBuffer1,
const vector< char > *  pBuffer2 = 0 
) [inline]

Member Function Documentation

template<class IndexType>
bool LessIndexString2< IndexType >::operator() ( const IndexType &  W1,
const IndexType &  W2 
) const [inline]

operator less for strings

template<class IndexType>
bool LessIndexString2< IndexType >::Greater ( const IndexType &  W1,
const IndexType &  W2 
) const [inline]

operator greater for strings

Referenced by CStringIndexSet::UnionIndexSet().

Here is the caller graph for this function:


Member Data Documentation

template<class IndexType>
const vector<char>* LessIndexString2< IndexType >::m_pBuffer1 [private]
template<class IndexType>
const vector<char>* LessIndexString2< IndexType >::m_pBuffer2 [private]

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