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

#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

Friends

std::ostream & operator<< (std::ostream &os, const SphinxDefaultJSON &defaultJson)

Detailed Description

Definition at line 112 of file SphinxResultDataSerializator.hpp.

Constructor & Destructor Documentation

HCE::sphinx::SphinxDefaultJSON::SphinxDefaultJSON ( unsigned int  matchesCount = 0,
unsigned int  attributesCount = 0,
unsigned int  maxResultNumber = 0 
)
explicit

Definition at line 351 of file SphinxResultDataSerializator.cpp.

Here is the call graph for this function:

HCE::sphinx::SphinxDefaultJSON::~SphinxDefaultJSON ( )
inline

Definition at line 117 of file SphinxResultDataSerializator.hpp.

Member Function Documentation

unsigned int HCE::sphinx::SphinxDefaultJSON::getErrorCode ( void  ) const
inline

Definition at line 124 of file SphinxResultDataSerializator.hpp.

const std::string& HCE::sphinx::SphinxDefaultJSON::getErrorMsg ( void  ) const
inline

Definition at line 123 of file SphinxResultDataSerializator.hpp.

const std::string& HCE::sphinx::SphinxDefaultJSON::getJSON ( void  ) const
inline

Definition at line 122 of file SphinxResultDataSerializator.hpp.

Here is the caller graph for this function:

bool HCE::sphinx::SphinxDefaultJSON::isError ( void  ) const
inline

Definition at line 125 of file SphinxResultDataSerializator.hpp.

bool HCE::sphinx::SphinxDefaultJSON::makeJSON ( unsigned int  matchesCount = 0,
unsigned int  attributesCount = 0,
unsigned int  maxResultNumber = 0 
)

Definition at line 401 of file SphinxResultDataSerializator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const SphinxDefaultJSON defaultJson 
)
friend

Definition at line 431 of file SphinxResultDataSerializator.cpp.


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