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::Response Struct Reference

#include <Response.hpp>

Collaboration diagram for HCE::Response:

Public Member Functions

 Response (unsigned err_code=ACTION_NOT_SUPPORT)
 Response (const std::map< std::string, std::string > &outData, const STATUS &status)
void init ()
void setTime (const std::string &_time)
std::string json ()
bool operator== (const HCE::Response &rhs) const

Static Public Member Functions

static Documents docs ()

Public Attributes

std::string error_code
std::string error_message
DataSet data
std::string time
Poco::JSON::Object item

Detailed Description

Definition at line 160 of file Response.hpp.

Constructor & Destructor Documentation

HCE::Response::Response ( unsigned  err_code = ACTION_NOT_SUPPORT)
inline

Definition at line 162 of file Response.hpp.

Here is the call graph for this function:

HCE::Response::Response ( const std::map< std::string, std::string > &  outData,
const STATUS status 
)
inline

< FIXME: error_message must be initialized as error mask (e.g status=5 must be two error messages: "documents not present" and "General internal error of functional object")

Definition at line 169 of file Response.hpp.

Here is the call graph for this function:

Member Function Documentation

static Documents HCE::Response::docs ( )
inlinestatic

Definition at line 221 of file Response.hpp.

void HCE::Response::init ( )
inline

Definition at line 176 of file Response.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string HCE::Response::json ( )
inline

Definition at line 228 of file Response.hpp.

bool HCE::Response::operator== ( const HCE::Response rhs) const
inline

Definition at line 234 of file Response.hpp.

void HCE::Response::setTime ( const std::string &  _time)
inline

Definition at line 225 of file Response.hpp.

Member Data Documentation

DataSet HCE::Response::data

Definition at line 244 of file Response.hpp.

std::string HCE::Response::error_code

Definition at line 242 of file Response.hpp.

std::string HCE::Response::error_message

Definition at line 243 of file Response.hpp.

Poco::JSON::Object HCE::Response::item

Definition at line 246 of file Response.hpp.

std::string HCE::Response::time

Definition at line 245 of file Response.hpp.


The documentation for this struct was generated from the following file: