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::sphinx::SphinxInputJsonMessageManage Class Reference

#include <SphinxInputJsonMessageManage.hpp>

Inheritance diagram for HCE::sphinx::SphinxInputJsonMessageManage:
Collaboration diagram for HCE::sphinx::SphinxInputJsonMessageManage:

Public Member Functions

 SphinxInputJsonMessageManage (const std::string &json="")
virtual ~SphinxInputJsonMessageManage (void)
bool serialize (std::string &json)
bool unserialize (const std::string &json)
void setCommandString (const std::string &commandString_)
std::string getCommandString (void) const
void setCommandOptionsString (const std::string &commandOptionsString_)
std::string getCommandOptionsString (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, SphinxInputJsonMessageManage &messageManage)
std::ostream & operator<< (std::ostream &os, const SphinxInputJsonMessageManage &messageManage)

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 24 of file SphinxInputJsonMessageManage.hpp.

Constructor & Destructor Documentation

HCE::sphinx::SphinxInputJsonMessageManage::SphinxInputJsonMessageManage ( const std::string &  json = "")

Definition at line 17 of file SphinxInputJsonMessageManage.cpp.

Here is the call graph for this function:

virtual HCE::sphinx::SphinxInputJsonMessageManage::~SphinxInputJsonMessageManage ( void  )
inlinevirtual

Definition at line 28 of file SphinxInputJsonMessageManage.hpp.

Member Function Documentation

std::string HCE::sphinx::SphinxInputJsonMessageManage::getCommandOptionsString ( void  ) const
inline

Definition at line 37 of file SphinxInputJsonMessageManage.hpp.

Here is the caller graph for this function:

std::string HCE::sphinx::SphinxInputJsonMessageManage::getCommandString ( void  ) const
inline

Definition at line 34 of file SphinxInputJsonMessageManage.hpp.

Here is the caller graph for this function:

bool HCE::sphinx::SphinxInputJsonMessageManage::serialize ( std::string &  json)
virtual

Implements HCE::IJsonSerializable.

Definition at line 24 of file SphinxInputJsonMessageManage.cpp.

void HCE::sphinx::SphinxInputJsonMessageManage::setCommandOptionsString ( const std::string &  commandOptionsString_)
inline

Definition at line 36 of file SphinxInputJsonMessageManage.hpp.

void HCE::sphinx::SphinxInputJsonMessageManage::setCommandString ( const std::string &  commandString_)
inline

Definition at line 33 of file SphinxInputJsonMessageManage.hpp.

bool HCE::sphinx::SphinxInputJsonMessageManage::unserialize ( const std::string &  json)
virtual

Implements HCE::IJsonSerializable.

Definition at line 48 of file SphinxInputJsonMessageManage.cpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const SphinxInputJsonMessageManage messageManage 
)
friend

Definition at line 86 of file SphinxInputJsonMessageManage.cpp.

std::istream& operator>> ( std::istream &  is,
SphinxInputJsonMessageManage messageManage 
)
friend

Definition at line 78 of file SphinxInputJsonMessageManage.cpp.


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