#include <IndexSetForQueryingStage.h>
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.
DWORD CIndexItem::GetIndexItemOffsetAndFlags | ( | ) | const [inline] |
return m_IndexItemOffsetAndFlags for serialization
References m_IndexItemOffsetAndFlags.
Referenced by save_to_bytes().
void CIndexItem::SetIndexItemOffsetAndFlags | ( | DWORD | Value | ) | [inline] |
set m_IndexItemOffsetAndFlags for serialization
References m_IndexItemOffsetAndFlags.
Referenced by CIndexSetForQueryingStage::AddOneIndexItem(), and restore_from_bytes().
static size_t CIndexItem::GetMaximalNumberOfRunningTokens | ( | ) | [inline, static] |
References AllFlags.
Referenced by CConcIndexatorInvoker::BuildIndex(), CConcIndexatorInvoker::FinalizeIndex(), and CStringIndexSet::UnionIndexSet().
DWORD CIndexItem::GetIndexItemOffset | ( | ) | const [inline] |
returns a reference of this index item to CStringIndexSet::m_StringBuffer
References AllFlags, and m_IndexItemOffsetAndFlags.
void CIndexItem::SetIndexItemOffset | ( | DWORD | Value | ) | [inline] |
sets a reference of this index item to CStringIndexSet::m_StringBuffer
References AllFlags, and m_IndexItemOffsetAndFlags.
DWORD CIndexItem::GetItemIndexFlags | ( | ) | const [inline] |
returns flags of this index item
References AllFlags, and m_IndexItemOffsetAndFlags.
void CIndexItem::AddItemIndexFlags | ( | DWORD | Value | ) | [inline] |
set flags of this index item
References AllFlags, and m_IndexItemOffsetAndFlags.
Referenced by CIndexSetForQueryingStage::AddOneIndexItem().
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().
void CIndexItem::SetEndOccurOffset | ( | DWORD | EndOccurOffset | ) | [inline] |
set the upper bound offset of occurrences in CIndexSetForQueryingStage::m_OccursFp
References m_EndOccurOffset.
Referenced by CIndexSetForQueryingStage::AddOneIndexItem(), and restore_from_bytes().
bool CIndexItem::HasOneOccurrence | ( | ) | const [inline] |
References m_IndexItemOffsetAndFlags, and TheOnlyOccurIsInEndOccurNo.
Referenced by CStringIndexSet::FindOccurrences().
DWORD CIndexItem::m_IndexItemOffsetAndFlags [private] |
DWORD CIndexItem::m_EndOccurOffset [private] |
Referenced by GetEndOccurOffset(), and SetEndOccurOffset().