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::DRCEOutputJsonMessage Class Reference

#include <DRCEOutputJsonMessage.hpp>

Inheritance diagram for HCE::drce::DRCEOutputJsonMessage:
Collaboration diagram for HCE::drce::DRCEOutputJsonMessage:

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 setResultData (const DRCEResultData &rhs)
void setResultData (DRCEResultData &&rhs)
const DRCEResultDatagetResultData (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
void setIsError (bool isError_)
bool isError (void) const
void resetError (void)

Friends

std::istream & operator>> (std::istream &is, DRCEOutputJsonMessage &outputJsonMessage)
std::ostream & operator<< (std::ostream &os, const DRCEOutputJsonMessage &outputJsonMessage)

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 28 of file DRCEOutputJsonMessage.hpp.

Constructor & Destructor Documentation

HCE::drce::DRCEOutputJsonMessage::DRCEOutputJsonMessage ( const std::string &  json = "")
explicit

Definition at line 8 of file DRCEOutputJsonMessage.cpp.

Here is the call graph for this function:

virtual HCE::drce::DRCEOutputJsonMessage::~DRCEOutputJsonMessage ( void  )
inlinevirtual

Definition at line 32 of file DRCEOutputJsonMessage.hpp.

Member Function Documentation

void HCE::drce::DRCEOutputJsonMessage::clear ( void  )

Definition at line 15 of file DRCEOutputJsonMessage.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const DRCEResultData& HCE::drce::DRCEOutputJsonMessage::getResultData ( void  ) const
inline

Definition at line 41 of file DRCEOutputJsonMessage.hpp.

Here is the caller graph for this function:

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

Implements HCE::IJsonSerializable.

Definition at line 31 of file DRCEOutputJsonMessage.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void HCE::drce::DRCEOutputJsonMessage::setResultData ( const DRCEResultData rhs)

Definition at line 21 of file DRCEOutputJsonMessage.cpp.

Here is the caller graph for this function:

void HCE::drce::DRCEOutputJsonMessage::setResultData ( DRCEResultData &&  rhs)

Definition at line 26 of file DRCEOutputJsonMessage.cpp.

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

Implements HCE::IJsonSerializable.

Definition at line 44 of file DRCEOutputJsonMessage.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const DRCEOutputJsonMessage outputJsonMessage 
)
friend

Definition at line 68 of file DRCEOutputJsonMessage.cpp.

std::istream& operator>> ( std::istream &  is,
DRCEOutputJsonMessage outputJsonMessage 
)
friend

Definition at line 57 of file DRCEOutputJsonMessage.cpp.


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