ddc
Public Member Functions | Public Attributes | List of all members
LessByPrefixIndex Struct Reference

Public Member Functions

 LessByPrefixIndex (const char *pBuffer, size_t PrefixLen=((size_t) -1))
 
bool operator() (const CIndexItem &Ref, const char *Val) const
 less-than operator (for prefix-search lower_bound()) More...
 
bool operator() (const char *Val, const CIndexItem &Ref) const
 less-than operator (for prefix-search upper_bound()) More...
 

Public Attributes

const char * m_pBuffer
 
size_t m_PrefixLen
 

Constructor & Destructor Documentation

◆ LessByPrefixIndex()

LessByPrefixIndex::LessByPrefixIndex ( const char *  pBuffer,
size_t  PrefixLen = ((size_t)-1) 
)
inline

Member Function Documentation

◆ operator()() [1/2]

bool LessByPrefixIndex::operator() ( const CIndexItem Ref,
const char *  Val 
) const
inline

less-than operator (for prefix-search lower_bound())

References CIndexItem::GetIndexItemOffset().

Here is the call graph for this function:

◆ operator()() [2/2]

bool LessByPrefixIndex::operator() ( const char *  Val,
const CIndexItem Ref 
) const
inline

less-than operator (for prefix-search upper_bound())

References CIndexItem::GetIndexItemOffset().

Here is the call graph for this function:

Member Data Documentation

◆ m_pBuffer

const char* LessByPrefixIndex::m_pBuffer

◆ m_PrefixLen

size_t LessByPrefixIndex::m_PrefixLen

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