hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::drce::DRCEResultDataSerializator Class Reference

#include <DRCEResultDataSerializator.hpp>

Inheritance diagram for HCE::drce::DRCEResultDataSerializator:
Collaboration diagram for HCE::drce::DRCEResultDataSerializator:

Public Member Functions

 DRCEResultDataSerializator (DRCEResultData &resultData)
 ~DRCEResultDataSerializator (void)
bool serialize (std::string &json)
bool unserialize (const std::string &json)
- 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>
convertVarToNumeric (Poco::Dynamic::Var &var, T defaultValue)
- Protected Attributes inherited from HCE::IJsonSerializable
std::string errorMsg
unsigned int errorCode
bool _isError

Detailed Description

Definition at line 29 of file DRCEResultDataSerializator.hpp.

Constructor & Destructor Documentation

HCE::drce::DRCEResultDataSerializator::DRCEResultDataSerializator ( DRCEResultData resultData)
explicit

Definition at line 17 of file DRCEResultDataSerializator.cpp.

HCE::drce::DRCEResultDataSerializator::~DRCEResultDataSerializator ( void  )
inline

Definition at line 33 of file DRCEResultDataSerializator.hpp.

Member Function Documentation

bool HCE::drce::DRCEResultDataSerializator::serialize ( std::string &  json)
virtual

Implements HCE::IJsonSerializable.

Definition at line 197 of file DRCEResultDataSerializator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool HCE::drce::DRCEResultDataSerializator::unserialize ( const std::string &  json)
virtual

Implements HCE::IJsonSerializable.

Definition at line 241 of file DRCEResultDataSerializator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: