hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
|
#include <JsonSerializable.hpp>
Public Types | |
enum | { NO_ERROR = 0 } |
Public Member Functions | |
IJsonSerializable (void) | |
virtual | ~IJsonSerializable (void) |
virtual bool | serialize (std::string &json)=0 |
virtual bool | unserialize (const std::string &json)=0 |
void | setErrorMsg (const std::string &errorMsg_) |
std::string | getErrorMsg (void) const |
void | setErrorCode (unsigned int errorCode_) |
unsigned int | getErrorCode (void) const |
void | setIsError (bool isError_) |
bool | isError (void) const |
void | resetError (void) |
Protected Member Functions | |
template<class T = unsigned long long> | |
T | convertVarToNumeric (Poco::Dynamic::Var &var, T defaultValue) |
Protected Attributes | |
std::string | errorMsg |
unsigned int | errorCode |
bool | _isError |
Definition at line 26 of file JsonSerializable.hpp.
anonymous enum |
Definition at line 29 of file JsonSerializable.hpp.
|
inline |
Definition at line 68 of file JsonSerializable.hpp.
|
inlinevirtual |
Definition at line 69 of file JsonSerializable.hpp.
|
inlineprotected |
|
inline |
Reimplemented in HCE::sphinx::SphinxOutputJsonMessage.
Definition at line 78 of file JsonSerializable.hpp.
|
inline |
Definition at line 75 of file JsonSerializable.hpp.
|
inline |
Definition at line 81 of file JsonSerializable.hpp.
|
inline |
|
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::handlers::PropertyMessage, HCE::sphinx::IndexStoreDataFile, HCE::handlers::HeartbeatMessage, HCE::sphinx::IndexCreate, HCE::sphinx::SphinxResultDataSerializator, HCE::handlers::RequestRouteMessage, HCE::sphinx::SphinxInputJsonMessage, HCE::drce::ResourceUsageSerializator, HCE::sphinx::SphinxFiltersArray, HCE::drce::DRCETaskRequest, HCE::drce::DRCETasksQueue, HCE::JsonMessageCover, HCE::drce::DRCEListAllTasks, HCE::handlers::AdminClientsSerializator, HCE::drce::DRCEInputJsonMessage, HCE::handlers::RouteMessage, HCE::drce::DRCETaskRequestTerminate, HCE::handlers::HandlerProperties, HCE::drce::DRCETaskRequestSetExecute, HCE::sphinx::SphinxOutputJsonMessage, HCE::handlers::AdminCommandParameters, HCE::drce::DRCETaskRequestCheckState, HCE::drce::DRCETaskRequestGetData, HCE::drce::DRCEResultDataSerializator, HCE::drce::DRCEOutputJsonMessage, HCE::sphinx::SphinxInputJsonMessageSearch, HCE::drce::DRCETaskRequestDeleteData, HCE::sphinx::SphinxInputJsonMessageIndex, and HCE::sphinx::SphinxInputJsonMessageManage.
|
inline |
Reimplemented in HCE::sphinx::SphinxOutputJsonMessage.
Definition at line 77 of file JsonSerializable.hpp.
|
inline |
|
inline |
|
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::handlers::PropertyMessage, HCE::sphinx::IndexStoreDataFile, HCE::handlers::HeartbeatMessage, HCE::sphinx::IndexCreate, HCE::sphinx::SphinxResultDataSerializator, HCE::handlers::RequestRouteMessage, HCE::sphinx::SphinxInputJsonMessage, HCE::drce::ResourceUsageSerializator, HCE::sphinx::SphinxFiltersArray, HCE::drce::DRCETaskRequest, HCE::drce::DRCETasksQueue, HCE::JsonMessageCover, HCE::drce::DRCEListAllTasks, HCE::handlers::AdminClientsSerializator, HCE::drce::DRCEInputJsonMessage, HCE::handlers::RouteMessage, HCE::drce::DRCETaskRequestTerminate, HCE::handlers::HandlerProperties, HCE::drce::DRCETaskRequestSetExecute, HCE::sphinx::SphinxOutputJsonMessage, HCE::handlers::AdminCommandParameters, HCE::drce::DRCETaskRequestCheckState, HCE::drce::DRCETaskRequestGetData, HCE::drce::DRCEResultDataSerializator, HCE::drce::DRCEOutputJsonMessage, HCE::sphinx::SphinxInputJsonMessageSearch, HCE::drce::DRCETaskRequestDeleteData, HCE::sphinx::SphinxInputJsonMessageIndex, and HCE::sphinx::SphinxInputJsonMessageManage.
|
protected |
Definition at line 91 of file JsonSerializable.hpp.
|
protected |
Definition at line 90 of file JsonSerializable.hpp.
|
protected |
Definition at line 89 of file JsonSerializable.hpp.