ddc
Public Member Functions | Public Attributes | List of all members
LessBySuffixIndex Struct Reference
Collaboration diagram for LessBySuffixIndex:
Collaboration graph
[legend]

Public Member Functions

 LessBySuffixIndex (const char *pBuffer=NULL, const CIndexItem *pIndex=NULL, const size_t SuffixLen=((size_t) -1))
 
bool less (const char *A, const char *B) const
 direct string-comparison (A<B) (by suffix) More...
 
bool operator() (const DWORD ItemId, const char *Val) const
 less-than operator (for suffix-indices lower_bound(); respects m_SuffixLen) More...
 
bool operator() (const char *Val, const DWORD ItemId) const
 less-than operator (for suffix-indices upper_bound(); respects m_SuffixLen) More...
 
bool operator() (const DWORD ItemIdA, const DWORD ItemIdB) const
 less-than operator (for suffix-index creation; ignores m_SuffixLen) More...
 

Public Attributes

const char * m_pBuffer
 
const CIndexItemm_pIndex
 
size_t m_SuffixLen
 

Constructor & Destructor Documentation

◆ LessBySuffixIndex()

LessBySuffixIndex::LessBySuffixIndex ( const char *  pBuffer = NULL,
const CIndexItem pIndex = NULL,
const size_t  SuffixLen = ((size_t)-1) 
)
inline

Member Function Documentation

◆ less()

bool LessBySuffixIndex::less ( const char *  A,
const char *  B 
) const
inline

direct string-comparison (A<B) (by suffix)

◆ operator()() [1/3]

bool LessBySuffixIndex::operator() ( const DWORD  ItemId,
const char *  Val 
) const
inline

less-than operator (for suffix-indices lower_bound(); respects m_SuffixLen)

◆ operator()() [2/3]

bool LessBySuffixIndex::operator() ( const char *  Val,
const DWORD  ItemId 
) const
inline

less-than operator (for suffix-indices upper_bound(); respects m_SuffixLen)

◆ operator()() [3/3]

bool LessBySuffixIndex::operator() ( const DWORD  ItemIdA,
const DWORD  ItemIdB 
) const
inline

less-than operator (for suffix-index creation; ignores m_SuffixLen)

Member Data Documentation

◆ m_pBuffer

const char* LessBySuffixIndex::m_pBuffer

◆ m_pIndex

const CIndexItem* LessBySuffixIndex::m_pIndex

◆ m_SuffixLen

size_t LessBySuffixIndex::m_SuffixLen

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