HCE project C++ developers source code library
1.1.1
HCE project developer library
|
#include <DRCEOutputJsonMessage.hpp>
Public Member Functions | |
DRCEOutputJsonMessage (const std::string &json="") | |
virtual | ~DRCEOutputJsonMessage (void) |
bool | serialize (std::string &json) |
bool | unserialize (const std::string &json) |
void | clear (void) |
void | setErrorMessage (const std::string &errorMessage_) |
std::string | getErrorMessage (void) const |
void | setTime (size_t time_) |
size_t | getTime (void) const |
void | setData (const std::string &data_) |
std::string | getData (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 |
bool | isError (void) const |
Friends | |
std::istream & | operator>> (std::istream &is, DRCEOutputJsonMessage &outputJsonMessage) |
std::ostream & | operator<< (std::ostream &os, const DRCEOutputJsonMessage &outputJsonMessage) |
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 27 of file DRCEOutputJsonMessage.hpp.
|
explicit |
|
inlinevirtual |
Definition at line 31 of file DRCEOutputJsonMessage.hpp.
void HCE::drce::DRCEOutputJsonMessage::clear | ( | void | ) |
Definition at line 24 of file DRCEOutputJsonMessage.cpp.
|
inline |
Definition at line 45 of file DRCEOutputJsonMessage.hpp.
|
inline |
Definition at line 39 of file DRCEOutputJsonMessage.hpp.
|
inline |
Definition at line 42 of file DRCEOutputJsonMessage.hpp.
|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 34 of file DRCEOutputJsonMessage.cpp.
|
inline |
Definition at line 44 of file DRCEOutputJsonMessage.hpp.
|
inline |
Definition at line 38 of file DRCEOutputJsonMessage.hpp.
|
inline |
Definition at line 41 of file DRCEOutputJsonMessage.hpp.
|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 59 of file DRCEOutputJsonMessage.cpp.
|
friend |
Definition at line 111 of file DRCEOutputJsonMessage.cpp.
|
friend |
Definition at line 100 of file DRCEOutputJsonMessage.cpp.