HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::sphinx::SphinxMatchInfo Class Reference

#include <SphinxMatchInfo.hpp>

Public Member Functions

 SphinxMatchInfo (void)
 SphinxMatchInfo (size_t attributesCount)
 SphinxMatchInfo (const SphinxMatchInfo &rhs)
 SphinxMatchInfo (SphinxMatchInfo &&rhs)
 ~SphinxMatchInfo (void)
SphinxMatchInfooperator= (const SphinxMatchInfo &rhs)
SphinxMatchInfooperator= (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 AttrInfogetAttrItem (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

Detailed Description

Definition at line 40 of file SphinxMatchInfo.hpp.

Constructor & Destructor Documentation

HCE::sphinx::SphinxMatchInfo::SphinxMatchInfo ( void  )

Definition at line 42 of file SphinxMatchInfo.cpp.

HCE::sphinx::SphinxMatchInfo::SphinxMatchInfo ( size_t  attributesCount)
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.

HCE::sphinx::SphinxMatchInfo::~SphinxMatchInfo ( void  )
inline

Definition at line 48 of file SphinxMatchInfo.hpp.

Member Function Documentation

void HCE::sphinx::SphinxMatchInfo::addAttrInfo ( const AttrInfo attrInfo)

Definition at line 110 of file SphinxMatchInfo.cpp.

Here is the caller graph for this function:

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 
)

Definition at line 120 of file SphinxMatchInfo.cpp.

Here is the call graph for this function:

void HCE::sphinx::SphinxMatchInfo::clear ( void  )

Definition at line 168 of file SphinxMatchInfo.cpp.

const std::vector<SphinxResultDataItem<AttrInfo> >& HCE::sphinx::SphinxMatchInfo::getAttributes ( void  ) const
inline

Definition at line 67 of file SphinxMatchInfo.hpp.

Here is the caller graph for this function:

size_t HCE::sphinx::SphinxMatchInfo::getAttributesCount ( void  ) const

Definition at line 139 of file SphinxMatchInfo.cpp.

Here is the caller graph for this function:

const AttrInfo & HCE::sphinx::SphinxMatchInfo::getAttrItem ( size_t  index) const

Definition at line 153 of file SphinxMatchInfo.cpp.

Here is the caller graph for this function:

unsigned long long HCE::sphinx::SphinxMatchInfo::getDocId ( void  ) const
inline

Definition at line 54 of file SphinxMatchInfo.hpp.

Here is the caller graph for this function:

const AttrInfo HCE::sphinx::SphinxMatchInfo::getFieldByName ( const std::string &  attrName) const

Definition at line 125 of file SphinxMatchInfo.cpp.

Here is the caller graph for this function:

std::string HCE::sphinx::SphinxMatchInfo::getWeight ( void  ) const
inline

Definition at line 58 of file SphinxMatchInfo.hpp.

Here is the caller graph for this function:

SphinxMatchInfo & HCE::sphinx::SphinxMatchInfo::operator= ( const SphinxMatchInfo rhs)

Definition at line 88 of file SphinxMatchInfo.cpp.

Here is the call graph for this function:

SphinxMatchInfo & HCE::sphinx::SphinxMatchInfo::operator= ( SphinxMatchInfo &&  rhs)

Definition at line 99 of file SphinxMatchInfo.cpp.

void HCE::sphinx::SphinxMatchInfo::reset ( void  )

Definition at line 175 of file SphinxMatchInfo.cpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxMatchInfo::resize ( size_t  sz)

Definition at line 184 of file SphinxMatchInfo.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::sphinx::SphinxMatchInfo::setAttrItem ( size_t  index,
const AttrInfo attr 
)

Definition at line 158 of file SphinxMatchInfo.cpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxMatchInfo::setAttrItem ( size_t  index,
AttrInfo &&  attr 
)

Definition at line 163 of file SphinxMatchInfo.cpp.

void HCE::sphinx::SphinxMatchInfo::setDocId ( unsigned long long  docId_)
inline

Definition at line 53 of file SphinxMatchInfo.hpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxMatchInfo::setWeightFromDecString ( const std::string &  weight,
unsigned long long  length = STRING_LENGTH 
)

Definition at line 74 of file SphinxMatchInfo.cpp.

Here is the call graph for this function:

void HCE::sphinx::SphinxMatchInfo::setWeightFromHexString ( const std::string &  weight)

Definition at line 69 of file SphinxMatchInfo.cpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxMatchInfo::setWeightFromNumeric ( unsigned long long  weight,
unsigned long long  length = STRING_LENGTH 
)

Definition at line 64 of file SphinxMatchInfo.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class CalculateStrategyDefault
friend

Definition at line 84 of file SphinxMatchInfo.hpp.

friend class CalculateStrategyUseFieldNames
friend

Definition at line 85 of file SphinxMatchInfo.hpp.

friend class SphinxResultDataMemoryManager
friend

Definition at line 83 of file SphinxMatchInfo.hpp.


The documentation for this class was generated from the following files: