HCE project C++ developers source code library  1.1.1
HCE project developer library
 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
bool isError (void) const

Additional Inherited Members

- 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 26 of file DRCEResultDataSerializator.hpp.

Constructor & Destructor Documentation

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

Definition at line 18 of file DRCEResultDataSerializator.cpp.

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

Definition at line 30 of file DRCEResultDataSerializator.hpp.

Member Function Documentation

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

Implements HCE::IJsonSerializable.

Definition at line 23 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 71 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: