HCE project C++ developers source code library
1.1.1
HCE project developer library
|
#include <SphinxMatchInfo.hpp>
Public Member Functions | |
SphinxMatchInfo (void) | |
SphinxMatchInfo (size_t attributesCount) | |
SphinxMatchInfo (const SphinxMatchInfo &rhs) | |
SphinxMatchInfo (SphinxMatchInfo &&rhs) | |
~SphinxMatchInfo (void) | |
SphinxMatchInfo & | operator= (const SphinxMatchInfo &rhs) |
SphinxMatchInfo & | operator= (SphinxMatchInfo &&rhs) |
void | setDocId (unsigned long long docId_) |
unsigned long long | getDocId (void) const |
std::string | getWeight (void) const |
void | setWeightFromNumeric (unsigned long long weight, unsigned long long length=STRING_LENGTH) |
void | setWeightFromHexString (const std::string &weight) |
void | setWeightFromDecString (const std::string &weight, unsigned long long length=STRING_LENGTH) |
void | addAttrInfo (const AttrInfo &attrInfo) |
void | addAttrInfo (AttrInfo &&attrInfo) |
void | addAttrInfo (const std::string &name, const std::string &value) |
const std::vector < SphinxResultDataItem < AttrInfo > > & | getAttributes (void) const |
const AttrInfo | getFieldByName (const std::string &attrName) const |
size_t | getAttributesCount (void) const |
const AttrInfo & | getAttrItem (size_t index) const |
void | setAttrItem (size_t index, const AttrInfo &attr) |
void | setAttrItem (size_t index, AttrInfo &&attr) |
void | clear (void) |
void | reset (void) |
void | resize (size_t sz) |
Friends | |
class | SphinxResultDataMemoryManager |
class | CalculateStrategyDefault |
class | CalculateStrategyUseFieldNames |
Definition at line 40 of file SphinxMatchInfo.hpp.
HCE::sphinx::SphinxMatchInfo::SphinxMatchInfo | ( | void | ) |
Definition at line 42 of file SphinxMatchInfo.cpp.
|
explicit |
Definition at line 47 of file SphinxMatchInfo.cpp.
HCE::sphinx::SphinxMatchInfo::SphinxMatchInfo | ( | const SphinxMatchInfo & | rhs | ) |
Definition at line 52 of file SphinxMatchInfo.cpp.
HCE::sphinx::SphinxMatchInfo::SphinxMatchInfo | ( | SphinxMatchInfo && | rhs | ) |
Definition at line 58 of file SphinxMatchInfo.cpp.
|
inline |
Definition at line 48 of file SphinxMatchInfo.hpp.
void HCE::sphinx::SphinxMatchInfo::addAttrInfo | ( | const AttrInfo & | attrInfo | ) |
void HCE::sphinx::SphinxMatchInfo::addAttrInfo | ( | AttrInfo && | attrInfo | ) |
Definition at line 115 of file SphinxMatchInfo.cpp.
void HCE::sphinx::SphinxMatchInfo::addAttrInfo | ( | const std::string & | name, |
const std::string & | value | ||
) |
void HCE::sphinx::SphinxMatchInfo::clear | ( | void | ) |
Definition at line 168 of file SphinxMatchInfo.cpp.
|
inline |
size_t HCE::sphinx::SphinxMatchInfo::getAttributesCount | ( | void | ) | const |
const AttrInfo & HCE::sphinx::SphinxMatchInfo::getAttrItem | ( | size_t | index | ) | const |
|
inline |
const AttrInfo HCE::sphinx::SphinxMatchInfo::getFieldByName | ( | const std::string & | attrName | ) | const |
|
inline |
SphinxMatchInfo & HCE::sphinx::SphinxMatchInfo::operator= | ( | const SphinxMatchInfo & | rhs | ) |
SphinxMatchInfo & HCE::sphinx::SphinxMatchInfo::operator= | ( | SphinxMatchInfo && | rhs | ) |
Definition at line 99 of file SphinxMatchInfo.cpp.
void HCE::sphinx::SphinxMatchInfo::reset | ( | void | ) |
void HCE::sphinx::SphinxMatchInfo::resize | ( | size_t | sz | ) |
Definition at line 184 of file SphinxMatchInfo.cpp.
void HCE::sphinx::SphinxMatchInfo::setAttrItem | ( | size_t | index, |
const AttrInfo & | attr | ||
) |
void HCE::sphinx::SphinxMatchInfo::setAttrItem | ( | size_t | index, |
AttrInfo && | attr | ||
) |
Definition at line 163 of file SphinxMatchInfo.cpp.
|
inline |
void HCE::sphinx::SphinxMatchInfo::setWeightFromDecString | ( | const std::string & | weight, |
unsigned long long | length = STRING_LENGTH |
||
) |
void HCE::sphinx::SphinxMatchInfo::setWeightFromHexString | ( | const std::string & | weight | ) |
void HCE::sphinx::SphinxMatchInfo::setWeightFromNumeric | ( | unsigned long long | weight, |
unsigned long long | length = STRING_LENGTH |
||
) |
Definition at line 64 of file SphinxMatchInfo.cpp.
|
friend |
Definition at line 84 of file SphinxMatchInfo.hpp.
|
friend |
Definition at line 85 of file SphinxMatchInfo.hpp.
|
friend |
Definition at line 83 of file SphinxMatchInfo.hpp.