ddc
|
Classes | |
struct | IsLessByFileNo |
comparison operator for hits on CHit::m_FileNo (for std::sort) More... | |
struct | IsLessByBreakNo |
comparison operator for hits on CHit::m_BreakNo (for std::sort) More... | |
struct | HitLessByCountValue |
direct comparison operator for hits on CHit::m_SortKey.i (for std::sort) More... | |
Macros | |
#define | KEYSDEBUG(code) |
Functions | |
static DWORD | HitOccurrenceStart (const CHit &Hit, const CConcHolder *holder) |
static DWORD | HitOccurrenceEnd (const CHit &Hit, const CConcHolder *holder) |
void | GenerateCountString (string &ResultStr, DDCFormatTypeEnum fmt, const string &key, size_t count) |
#define KEYSDEBUG | ( | code | ) |
Referenced by CQKeys::Compile().
|
inlinestatic |
get initial occurrence number of Hit
References CQueryResult::m_Hits.
Referenced by CQCountKeyExprToken::Evaluate().
|
inlinestatic |
get first occurence offset after Hit (upper bound)
References CHit::m_HighlightOccurrenceEnd, and CQueryResult::m_HighlightOccurs.
Referenced by CQCountKeyExprToken::Evaluate().
void GenerateCountString | ( | string & | ResultStr, |
DDCFormatTypeEnum | fmt, | ||
const string & | key, | ||
size_t | count | ||
) |
generate a single count string from a (key,count)-pair
References ConvertASCIIToHtmlSymbols(), DDC_ResultHTML, DDC_ResultJson, DDC_ResultTable, DDC_ResultText, Format(), globalCountKeyDelim, and jsonStr().
Referenced by GenerateCountString(), CConcSession::GenerateCountStrings(), CDDCBranchServer::GetHitCounts(), and CQKeys::jsonClass().