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

#include <ConcCommon.h>

Collaboration diagram for CHit:
Collaboration graph
[legend]

Public Member Functions

 CHit (DWORD BreakNo=0)
 

Public Attributes

DWORD m_BreakNo
 the index of the break, which this hit represents (in the break collection CConcHolder::GetBreaks) More...
 
DWORD m_HighlightOccurrenceEnd
 the end offset of token occurrences to be highlighted in CQueryNode::m_Occurrences and later in CConcHolder::m_HighlightOccurs More...
 
DWORD m_FileNo
 the index of coprus file, where this hit is found, it is equal to m_BreakNo if user searches within files More...
 
union {
   size_t   m_DebugRankNo
 the string which displays how the rank was calculated (for rank-sorted queries) More...
 
   size_t   m_Count
 count for this item (for count-queries) More...
 
m_Value
 
CHitSortKey m_SortKey
 

Detailed Description

CHit is a structure that holds one found hit and its properties. The calculation of its slots starts in CQueryNode class and its inheritors and proceeds in CConcHolder class.

Constructor & Destructor Documentation

◆ CHit()

CHit::CHit ( DWORD  BreakNo = 0)
inline

Member Data Documentation

◆ m_BreakNo

DWORD CHit::m_BreakNo

◆ m_HighlightOccurrenceEnd

DWORD CHit::m_HighlightOccurrenceEnd

◆ m_FileNo

DWORD CHit::m_FileNo

◆ m_DebugRankNo

size_t CHit::m_DebugRankNo

◆ m_Count

size_t CHit::m_Count

count for this item (for count-queries)

Referenced by GenerateCountString(), and HitLessByCountValue::operator()().

◆ m_Value

union { ... } CHit::m_Value

◆ m_SortKey

CHitSortKey CHit::m_SortKey

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