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::SphinxRequestInfo Class Reference

#include <SphinxRequestInfo.hpp>

Public Member Functions

 SphinxRequestInfo (void)
 SphinxRequestInfo (size_t wordsCount)
 SphinxRequestInfo (const SphinxRequestInfo &rhs)
 SphinxRequestInfo (SphinxRequestInfo &&rhs)
 ~SphinxRequestInfo (void)
SphinxRequestInfooperator= (const SphinxRequestInfo &rhs)
SphinxRequestInfooperator= (SphinxRequestInfo &&rhs)
void setNodeName (const std::string &nodeName_)
std::string getNodeName (void) const
void setQuery (const std::string &query_)
std::string getQuery (void) const
void setQueryId (unsigned int queryId_)
unsigned int getQueryId (void) const
void setMaxResultsNumber (unsigned int maxResultsNumber_)
unsigned int getMaxResultsNumber (void) const
void setOrderBy (unsigned int orderBy_)
unsigned int getOrderBy (void) const
void setTotal (unsigned int total_)
unsigned int getTotal (void) const
void setTotalFound (unsigned int totalFound_)
unsigned int getTotalFound (void) const
void setTimeMsec (unsigned int timeMsec_)
unsigned int getTimeMsec (void) const
void addWordInfo (const WordInfo &wordInfo)
void addWordInfo (WordInfo &&wordInfo)
void addWordInfo (const std::string &word, unsigned int hits, unsigned int docs)
const std::vector
< SphinxResultDataItem
< WordInfo > > & 
getWords (void) const
size_t getWordsCount (void) const
const WordInfogetWordItem (size_t index) const
void setWordItem (size_t index, const WordInfo &word)
void setWordItem (size_t index, WordInfo &&word)
void clear (void)
void reset (void)
void resize (size_t sz)

Detailed Description

Definition at line 42 of file SphinxRequestInfo.hpp.

Constructor & Destructor Documentation

HCE::sphinx::SphinxRequestInfo::SphinxRequestInfo ( void  )

Definition at line 43 of file SphinxRequestInfo.cpp.

HCE::sphinx::SphinxRequestInfo::SphinxRequestInfo ( size_t  wordsCount)
explicit

Definition at line 48 of file SphinxRequestInfo.cpp.

HCE::sphinx::SphinxRequestInfo::SphinxRequestInfo ( const SphinxRequestInfo rhs)

Definition at line 53 of file SphinxRequestInfo.cpp.

HCE::sphinx::SphinxRequestInfo::SphinxRequestInfo ( SphinxRequestInfo &&  rhs)

Definition at line 59 of file SphinxRequestInfo.cpp.

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

Definition at line 49 of file SphinxRequestInfo.hpp.

Member Function Documentation

void HCE::sphinx::SphinxRequestInfo::addWordInfo ( const WordInfo wordInfo)

Definition at line 99 of file SphinxRequestInfo.cpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxRequestInfo::addWordInfo ( WordInfo &&  wordInfo)

Definition at line 104 of file SphinxRequestInfo.cpp.

void HCE::sphinx::SphinxRequestInfo::addWordInfo ( const std::string &  word,
unsigned int  hits,
unsigned int  docs 
)

Definition at line 109 of file SphinxRequestInfo.cpp.

Here is the call graph for this function:

void HCE::sphinx::SphinxRequestInfo::clear ( void  )

Definition at line 144 of file SphinxRequestInfo.cpp.

unsigned int HCE::sphinx::SphinxRequestInfo::getMaxResultsNumber ( void  ) const
inline

Definition at line 64 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

std::string HCE::sphinx::SphinxRequestInfo::getNodeName ( void  ) const
inline

Definition at line 55 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

unsigned int HCE::sphinx::SphinxRequestInfo::getOrderBy ( void  ) const
inline

Definition at line 67 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

std::string HCE::sphinx::SphinxRequestInfo::getQuery ( void  ) const
inline

Definition at line 58 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

unsigned int HCE::sphinx::SphinxRequestInfo::getQueryId ( void  ) const
inline

Definition at line 61 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

unsigned int HCE::sphinx::SphinxRequestInfo::getTimeMsec ( void  ) const
inline

Definition at line 76 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

unsigned int HCE::sphinx::SphinxRequestInfo::getTotal ( void  ) const
inline

Definition at line 70 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

unsigned int HCE::sphinx::SphinxRequestInfo::getTotalFound ( void  ) const
inline

Definition at line 73 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

const WordInfo & HCE::sphinx::SphinxRequestInfo::getWordItem ( size_t  index) const

Definition at line 128 of file SphinxRequestInfo.cpp.

Here is the caller graph for this function:

const std::vector<SphinxResultDataItem<WordInfo> >& HCE::sphinx::SphinxRequestInfo::getWords ( void  ) const
inline

Definition at line 82 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

size_t HCE::sphinx::SphinxRequestInfo::getWordsCount ( void  ) const

Definition at line 114 of file SphinxRequestInfo.cpp.

Here is the caller graph for this function:

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

Definition at line 65 of file SphinxRequestInfo.cpp.

Here is the call graph for this function:

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

Definition at line 82 of file SphinxRequestInfo.cpp.

void HCE::sphinx::SphinxRequestInfo::reset ( void  )

Definition at line 157 of file SphinxRequestInfo.cpp.

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

Definition at line 172 of file SphinxRequestInfo.cpp.

void HCE::sphinx::SphinxRequestInfo::setMaxResultsNumber ( unsigned int  maxResultsNumber_)
inline

Definition at line 63 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxRequestInfo::setNodeName ( const std::string &  nodeName_)
inline

Definition at line 54 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxRequestInfo::setOrderBy ( unsigned int  orderBy_)
inline

Definition at line 66 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxRequestInfo::setQuery ( const std::string &  query_)
inline

Definition at line 57 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxRequestInfo::setQueryId ( unsigned int  queryId_)
inline

Definition at line 60 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxRequestInfo::setTimeMsec ( unsigned int  timeMsec_)
inline

Definition at line 75 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxRequestInfo::setTotal ( unsigned int  total_)
inline

Definition at line 69 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxRequestInfo::setTotalFound ( unsigned int  totalFound_)
inline

Definition at line 72 of file SphinxRequestInfo.hpp.

Here is the caller graph for this function:

void HCE::sphinx::SphinxRequestInfo::setWordItem ( size_t  index,
const WordInfo word 
)

Definition at line 134 of file SphinxRequestInfo.cpp.

void HCE::sphinx::SphinxRequestInfo::setWordItem ( size_t  index,
WordInfo &&  word 
)

Definition at line 139 of file SphinxRequestInfo.cpp.


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