ddc
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
CIndexItem Class Reference

#include <IndexSetForQueryingStage.h>

Public Member Functions

DWORD GetIndexItemOffsetAndFlags () const
 return m_IndexItemOffsetAndFlags for serialization More...
 
void SetIndexItemOffsetAndFlags (DWORD Value)
 set m_IndexItemOffsetAndFlags for serialization More...
 
DWORD GetIndexItemOffset () const
 returns a reference of this index item to CStringIndexSet::m_StringBuffer More...
 
void SetIndexItemOffset (DWORD Value)
 sets a reference of this index item to CStringIndexSet::m_StringBuffer More...
 
DWORD GetItemIndexFlags () const
 returns flags of this index item More...
 
void AddItemIndexFlags (DWORD Value)
 set flags of this index item More...
 
DWORD GetEndOccurOffset () const
 return the upper bound offset of occurrences in CIndexSetForQueryingStage::m_OccursFp More...
 
void SetEndOccurOffset (DWORD EndOccurOffset)
 set the upper bound offset of occurrences in CIndexSetForQueryingStage::m_OccursFp More...
 
bool HasOneOccurrence () const
 

Static Public Member Functions

static size_t GetMaximalNumberOfRunningTokens ()
 

Private Attributes

DWORD m_IndexItemOffsetAndFlags
 
DWORD m_EndOccurOffset
 

Detailed Description

CIndexItem contains basic information about one index item. In the strict sense one index item is a connection between an indexed string and its occurrences. More generally the term "index item" is used to refer also an indexed string.

Member Function Documentation

◆ GetIndexItemOffsetAndFlags()

DWORD CIndexItem::GetIndexItemOffsetAndFlags ( ) const
inline

return m_IndexItemOffsetAndFlags for serialization

References m_IndexItemOffsetAndFlags.

Referenced by save_to_bytes().

Here is the caller graph for this function:

◆ SetIndexItemOffsetAndFlags()

void CIndexItem::SetIndexItemOffsetAndFlags ( DWORD  Value)
inline

set m_IndexItemOffsetAndFlags for serialization

Referenced by CIndexSetForQueryingStage::AddOneIndexItem(), and restore_from_bytes().

Here is the caller graph for this function:

◆ GetMaximalNumberOfRunningTokens()

static size_t CIndexItem::GetMaximalNumberOfRunningTokens ( )
inlinestatic

References AllFlags.

Referenced by CConcIndexator::CreateAsUnion(), ConcIndexatorInvoker::FinalizeIndex(), and ConcIndexatorInvoker::IndexFile().

Here is the caller graph for this function:

◆ GetIndexItemOffset()

DWORD CIndexItem::GetIndexItemOffset ( ) const
inline

returns a reference of this index item to CStringIndexSet::m_StringBuffer

References AllFlags.

Referenced by LessByPrefixIndex::operator()().

Here is the caller graph for this function:

◆ SetIndexItemOffset()

void CIndexItem::SetIndexItemOffset ( DWORD  Value)
inline

sets a reference of this index item to CStringIndexSet::m_StringBuffer

References AllFlags.

◆ GetItemIndexFlags()

DWORD CIndexItem::GetItemIndexFlags ( ) const
inline

returns flags of this index item

References AllFlags.

◆ AddItemIndexFlags()

void CIndexItem::AddItemIndexFlags ( DWORD  Value)
inline

set flags of this index item

References AllFlags.

Referenced by CIndexSetForQueryingStage::AddOneIndexItem().

Here is the caller graph for this function:

◆ GetEndOccurOffset()

DWORD CIndexItem::GetEndOccurOffset ( ) const
inline

return the upper bound offset of occurrences in CIndexSetForQueryingStage::m_OccursFp

References m_EndOccurOffset.

Referenced by CStringIndexSet::FindOccurrences(), and save_to_bytes().

Here is the caller graph for this function:

◆ SetEndOccurOffset()

void CIndexItem::SetEndOccurOffset ( DWORD  EndOccurOffset)
inline

set the upper bound offset of occurrences in CIndexSetForQueryingStage::m_OccursFp

Referenced by CIndexSetForQueryingStage::AddOneIndexItem(), and restore_from_bytes().

Here is the caller graph for this function:

◆ HasOneOccurrence()

bool CIndexItem::HasOneOccurrence ( ) const
inline

References TheOnlyOccurIsInEndOccurNo.

Referenced by CStringIndexSet::FindOccurrences().

Here is the caller graph for this function:

Member Data Documentation

◆ m_IndexItemOffsetAndFlags

DWORD CIndexItem::m_IndexItemOffsetAndFlags
private

◆ m_EndOccurOffset

DWORD CIndexItem::m_EndOccurOffset
private

Referenced by GetEndOccurOffset().


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