#include <JsonSerializable.hpp>
Protected Member Functions |
template<class T = unsigned long long> |
T | convertVarToNumeric (Poco::Dynamic::Var &var, T defaultValue) |
Detailed Description
Definition at line 22 of file JsonSerializable.hpp.
Constructor & Destructor Documentation
HCE::IJsonSerializable::IJsonSerializable |
( |
void |
| ) |
|
|
inline |
virtual HCE::IJsonSerializable::~IJsonSerializable |
( |
void |
| ) |
|
|
inlinevirtual |
Member Function Documentation
template<class T = unsigned long long>
T HCE::IJsonSerializable::convertVarToNumeric |
( |
Poco::Dynamic::Var & |
var, |
|
|
T |
defaultValue |
|
) |
| |
|
inlineprotected |
unsigned int HCE::IJsonSerializable::getErrorCode |
( |
void |
| ) |
const |
|
inline |
std::string HCE::IJsonSerializable::getErrorMsg |
( |
void |
| ) |
const |
|
inline |
bool HCE::IJsonSerializable::isError |
( |
void |
| ) |
const |
|
inline |
virtual bool HCE::IJsonSerializable::serialize |
( |
std::string & |
json | ) |
|
|
pure virtual |
Implemented in HCE::sphinx::IndexDisconnect, HCE::sphinx::IndexGetConfigVar, HCE::sphinx::IndexSetConfigVar, HCE::sphinx::IndexCopy, HCE::sphinx::IndexDeleteDoc, HCE::sphinx::IndexSetDataDir, HCE::sphinx::IndexRebuild, HCE::sphinx::IndexStoreSchemaFile, HCE::sphinx::IndexStoreDataFile, HCE::sphinx::IndexCreate, HCE::sphinx::SphinxResultDataSerializator, HCE::sphinx::SphinxInputJsonMessage, HCE::sphinx::SphinxFiltersArray, HCE::JsonMessageCover, HCE::sphinx::SphinxOutputJsonMessage, HCE::drce::DRCEInputJsonMessage, HCE::drce::DRCEOutputJsonMessage, HCE::drce::DRCEResultDataSerializator, HCE::sphinx::SphinxInputJsonMessageSearch, HCE::sphinx::SphinxInputJsonMessageIndex, and HCE::sphinx::SphinxInputJsonMessageManage.
void HCE::IJsonSerializable::setErrorCode |
( |
unsigned int |
errorCode_ | ) |
|
|
inline |
void HCE::IJsonSerializable::setErrorMsg |
( |
const std::string & |
errorMsg_ | ) |
|
|
inline |
virtual bool HCE::IJsonSerializable::unserialize |
( |
const std::string & |
json | ) |
|
|
pure virtual |
Implemented in HCE::sphinx::IndexDisconnect, HCE::sphinx::IndexGetConfigVar, HCE::sphinx::IndexSetConfigVar, HCE::sphinx::IndexCopy, HCE::sphinx::IndexDeleteDoc, HCE::sphinx::IndexSetDataDir, HCE::sphinx::IndexRebuild, HCE::sphinx::IndexStoreSchemaFile, HCE::sphinx::IndexStoreDataFile, HCE::sphinx::IndexCreate, HCE::sphinx::SphinxResultDataSerializator, HCE::sphinx::SphinxInputJsonMessage, HCE::sphinx::SphinxFiltersArray, HCE::JsonMessageCover, HCE::sphinx::SphinxOutputJsonMessage, HCE::drce::DRCEInputJsonMessage, HCE::drce::DRCEOutputJsonMessage, HCE::drce::DRCEResultDataSerializator, HCE::sphinx::SphinxInputJsonMessageSearch, HCE::sphinx::SphinxInputJsonMessageIndex, and HCE::sphinx::SphinxInputJsonMessageManage.
Member Data Documentation
bool HCE::IJsonSerializable::_isError |
|
protected |
unsigned int HCE::IJsonSerializable::errorCode |
|
protected |
std::string HCE::IJsonSerializable::errorMsg |
|
protected |
The documentation for this class was generated from the following file: