#include <SphinxResultDataSerializator.hpp>
Public Member Functions |
| SphinxDefaultJSON (unsigned int matchesCount=0, unsigned int attributesCount=0, unsigned int maxResultNumber=0) |
| ~SphinxDefaultJSON () |
bool | makeJSON (unsigned int matchesCount=0, unsigned int attributesCount=0, unsigned int maxResultNumber=0) |
const std::string & | getJSON (void) const |
const std::string & | getErrorMsg (void) const |
unsigned int | getErrorCode (void) const |
bool | isError (void) const |
Detailed Description
Constructor & Destructor Documentation
HCE::sphinx::SphinxDefaultJSON::SphinxDefaultJSON |
( |
unsigned int |
matchesCount = 0 , |
|
|
unsigned int |
attributesCount = 0 , |
|
|
unsigned int |
maxResultNumber = 0 |
|
) |
| |
|
explicit |
HCE::sphinx::SphinxDefaultJSON::~SphinxDefaultJSON |
( |
| ) |
|
|
inline |
Member Function Documentation
unsigned int HCE::sphinx::SphinxDefaultJSON::getErrorCode |
( |
void |
| ) |
const |
|
inline |
const std::string& HCE::sphinx::SphinxDefaultJSON::getErrorMsg |
( |
void |
| ) |
const |
|
inline |
const std::string& HCE::sphinx::SphinxDefaultJSON::getJSON |
( |
void |
| ) |
const |
|
inline |
bool HCE::sphinx::SphinxDefaultJSON::isError |
( |
void |
| ) |
const |
|
inline |
bool HCE::sphinx::SphinxDefaultJSON::makeJSON |
( |
unsigned int |
matchesCount = 0 , |
|
|
unsigned int |
attributesCount = 0 , |
|
|
unsigned int |
maxResultNumber = 0 |
|
) |
| |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const SphinxDefaultJSON & |
defaultJson |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: