hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
|
#include <DRCEResourceUsage.hpp>
Public Member Functions | |
ResourceUsageSerializator (ResourceUsage &resourceUsage_) | |
ResourceUsageSerializator (ResourceUsage &resourceUsage_, const std::string &json) | |
bool | serialize (std::string &json) |
bool | unserialize (const std::string &json) |
void | clear (void) |
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) |
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 75 of file DRCEResourceUsage.hpp.
|
explicit |
Definition at line 172 of file DRCEResourceUsage.cpp.
HCE::drce::ResourceUsageSerializator::ResourceUsageSerializator | ( | ResourceUsage & | resourceUsage_, |
const std::string & | json | ||
) |
void HCE::drce::ResourceUsageSerializator::clear | ( | void | ) |
Definition at line 279 of file DRCEResourceUsage.cpp.
|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 184 of file DRCEResourceUsage.cpp.
|
virtual |
Implements HCE::IJsonSerializable.
Definition at line 222 of file DRCEResourceUsage.cpp.