ddc
|
#include <ConcCommon.h>
Public Member Functions | |
CHitSortKey (int i_=0) | |
default constructor More... | |
CHitSortKey (int i_, const string &s_) | |
constructor given integer and string More... | |
void | clear () |
clear key More... | |
bool | operator< (const CHitSortKey &x) const |
less-than comparison operator; as for std::pair<i,s> More... | |
bool | operator> (const CHitSortKey &x) const |
greater-than comparison operator More... | |
void | assign (int i_) |
assignment given integer More... | |
void | assign (int i_, const string &s_) |
assignment given integer + string More... | |
void | operator= (const std::pair< int, string > &p) |
assignment to std::pair More... | |
void | operator= (int i_) |
assignment to integer, alias for assign(i,"") More... | |
void | operator= (const string &s_) |
assignment to string, alias for assign(0,s) More... | |
Public Attributes | |
int | i |
primary integer sort key; formerly CHit::m_OrderId, CDDCFilterWithBounds.m_LevelStart|m_LevelEnd More... | |
string | s |
secondary sort key, new for v2.0.19 More... | |
type for hit sort-keys and/or result filtering; new in v2.0.19
|
inline |
default constructor
|
inline |
constructor given integer and string
|
inline |
clear key
|
inline |
|
inline |
|
inline |
assignment given integer
Referenced by CStringIndexSet::GetContextBounds(), CFreeBiblStringIndex::GetFilterBounds(), CFreeBiblStringIndex::GetFilterValue(), and CBiblIndex::InitSortByBiblIntegerField().
|
inline |
assignment given integer + string
|
inline |
assignment to std::pair
|
inline |
assignment to integer, alias for assign(i,"")
|
inline |
assignment to string, alias for assign(0,s)
int CHitSortKey::i |
primary integer sort key; formerly CHit::m_OrderId, CDDCFilterWithBounds.m_LevelStart|m_LevelEnd
Referenced by CQFDateSort::Compile(), dumpHitIndex(), dumpHits(), CFreeBiblIndex::FileMatches(), CConcSession::GenerateOneHitString(), CConcSession::GenerateOneHitStringJson(), CConcSession::GetAllHits(), CStringIndexSet::GetContextBounds(), CFreeBiblStringIndex::GetFilterBounds(), CFreeBiblIndex::GetFilterValue(), CFreeBiblStringIndex::GetFilterValue(), CFreeBiblStringIndex::GetFilterValues(), CConcSession::InitSortByContext(), CConcSession::InitSortByRank(), my_lower_bound(), my_upper_bound(), operator<(), operator>(), CConcSession::ShowBibliographyForTable(), and CConcSession::SortKeyLB().
string CHitSortKey::s |
secondary sort key, new for v2.0.19
Referenced by dumpHitIndex(), dumpHits(), GenerateCountString(), CConcSession::GenerateOneHitStringJson(), CConcSession::GetAllHits(), CFreeBiblStringIndex::GetFilterValue(), CFreeBiblStringIndex::GetFilterValues(), CConcSession::GetHitIds(), CConcSession::InitSortByContext(), operator<(), operator>(), and CConcSession::SortKeyLB().