|
hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
|
#include <SphinxInputJsonMessage.hpp>


Public Types | |
| enum | MessageType |
Public Types inherited from HCE::IJsonSerializable | |
| enum | { NO_ERROR = 0 } |
Public Member Functions | |
| SphinxInputJsonMessage (const std::string &json="") | |
| SphinxInputJsonMessage (SphinxInputJsonMessage::MessageType messageType_) | |
| virtual | ~SphinxInputJsonMessage (void) |
| bool | serialize (std::string &json) |
| bool | unserialize (const std::string &json) |
| void | setType (SphinxInputJsonMessage::MessageType messageType_) |
| SphinxInputJsonMessage::MessageType | getType (void) const |
| void | setData (const std::string &messageBody_) |
| std::string | getData (void) |
| void | setTTL (unsigned int ttl) |
| unsigned int | getTTL (void) const |
Public Member Functions inherited from HCE::IJsonSerializable | |
| IJsonSerializable (void) | |
| virtual | ~IJsonSerializable (void) |
| 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) |
Friends | |
| std::istream & | operator>> (std::istream &is, SphinxInputJsonMessage &jsonHandler) |
| std::ostream & | operator<< (std::ostream &os, const SphinxInputJsonMessage &jsonHandler) |
Additional Inherited Members | |
Protected Member Functions inherited from HCE::IJsonSerializable | |
| template<class T = unsigned long long> | |
| T | convertVarToNumeric (Poco::Dynamic::Var &var, T defaultValue) |
Protected Attributes inherited from HCE::IJsonSerializable | |
| std::string | errorMsg |
| unsigned int | errorCode |
| bool | _isError |
Definition at line 74 of file SphinxInputJsonMessage.hpp.
Definition at line 77 of file SphinxInputJsonMessage.hpp.
|
explicit |
|
explicit |
Definition at line 32 of file SphinxInputJsonMessage.cpp.
|
inlinevirtual |
Definition at line 86 of file SphinxInputJsonMessage.hpp.
|
inline |
Definition at line 95 of file SphinxInputJsonMessage.hpp.

|
inline |
Definition at line 98 of file SphinxInputJsonMessage.hpp.
|
inline |
Definition at line 92 of file SphinxInputJsonMessage.hpp.

|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 37 of file SphinxInputJsonMessage.cpp.

|
inline |
Definition at line 94 of file SphinxInputJsonMessage.hpp.

|
inline |
Definition at line 97 of file SphinxInputJsonMessage.hpp.
|
inline |
Definition at line 91 of file SphinxInputJsonMessage.hpp.

|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 61 of file SphinxInputJsonMessage.cpp.

|
friend |
Definition at line 118 of file SphinxInputJsonMessage.cpp.
|
friend |
Definition at line 107 of file SphinxInputJsonMessage.cpp.