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


Public Member Functions | |
| SphinxOutputJsonMessage (const std::string &json="") | |
| SphinxOutputJsonMessage (const SphinxOutputJsonMessage &) | |
| virtual | ~SphinxOutputJsonMessage (void) |
| bool | serialize (std::string &json) |
| bool | unserialize (const std::string &json) |
| void | setErrorCode (unsigned int errorCode_) |
| unsigned int | getErrorCode (void) const |
| void | setErrorMessage (const std::string &errorMessage_) |
| std::string | getErrorMessage (void) const |
| void | setData (const std::string &data_) |
| std::string | getData (void) const |
| void | setTime (unsigned int time_) |
| unsigned int | getTime (void) const |
| void | clear (void) |
| SphinxOutputJsonMessage & | operator= (const SphinxOutputJsonMessage &) |
Public Member Functions inherited from HCE::IJsonSerializable | |
| IJsonSerializable (void) | |
| virtual | ~IJsonSerializable (void) |
| void | setErrorMsg (const std::string &errorMsg_) |
| std::string | getErrorMsg (void) const |
| void | setIsError (bool isError_) |
| bool | isError (void) const |
| void | resetError (void) |
Friends | |
| std::istream & | operator>> (std::istream &is, SphinxOutputJsonMessage &jsonHandler) |
| std::ostream & | operator<< (std::ostream &os, const SphinxOutputJsonMessage &jsonHandler) |
Additional Inherited Members | |
Public Types inherited from HCE::IJsonSerializable | |
| enum | { NO_ERROR = 0 } |
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 34 of file SphinxOutputJsonMessage.hpp.
|
explicit |
Definition at line 17 of file SphinxOutputJsonMessage.cpp.

| HCE::sphinx::SphinxOutputJsonMessage::SphinxOutputJsonMessage | ( | const SphinxOutputJsonMessage & | rhs | ) |
Definition at line 24 of file SphinxOutputJsonMessage.cpp.
|
inlinevirtual |
Definition at line 39 of file SphinxOutputJsonMessage.hpp.
| void HCE::sphinx::SphinxOutputJsonMessage::clear | ( | void | ) |
Definition at line 42 of file SphinxOutputJsonMessage.cpp.

|
inline |
Definition at line 51 of file SphinxOutputJsonMessage.hpp.

|
inline |
Reimplemented from HCE::IJsonSerializable.
Definition at line 45 of file SphinxOutputJsonMessage.hpp.

|
inline |
Definition at line 48 of file SphinxOutputJsonMessage.hpp.

|
inline |
Definition at line 54 of file SphinxOutputJsonMessage.hpp.

| SphinxOutputJsonMessage & HCE::sphinx::SphinxOutputJsonMessage::operator= | ( | const SphinxOutputJsonMessage & | rhs | ) |
Definition at line 30 of file SphinxOutputJsonMessage.cpp.

|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 51 of file SphinxOutputJsonMessage.cpp.

|
inline |
Definition at line 50 of file SphinxOutputJsonMessage.hpp.

|
inline |
Reimplemented from HCE::IJsonSerializable.
Definition at line 44 of file SphinxOutputJsonMessage.hpp.

|
inline |
Definition at line 47 of file SphinxOutputJsonMessage.hpp.

|
inline |
Definition at line 53 of file SphinxOutputJsonMessage.hpp.

|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 77 of file SphinxOutputJsonMessage.cpp.


|
friend |
Definition at line 129 of file SphinxOutputJsonMessage.cpp.
|
friend |
Definition at line 118 of file SphinxOutputJsonMessage.cpp.