Mania++
 All Classes Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
GbxResponse Class Reference

Response from server, de-XML-fies the response. More...

#include <GbxResponse.h>

Inheritance diagram for GbxResponse:
GbxServerResponse

Public Member Functions

GbxError GetFault ()
 
void SetRaw (std::string response)
 Sets the raw message value. More...
 
std::string GetRaw ()
 Returns raw response (XML).
 
std::vector< GbxResponseParameterGetParameters ()
 Returns the extracted parameters.
 

Protected Member Functions

GbxResponseParameter extractParam (pugi::xml_node param)
 Extracts parameters from the raw data (XML).
 

Protected Attributes

std::string data
 Raw response data.
 
std::vector< GbxResponseParameterparameters = std::vector<GbxResponseParameter>()
 List of parameters.
 

Private Member Functions

void extractParameters ()
 Extracts parameters from the raw data (XML).
 

Private Attributes

GbxError fault = GbxError()
 Current fault (error).
 

Detailed Description

Response from server, de-XML-fies the response.

Member Function Documentation

GbxError GbxResponse::GetFault ( )

Returns whether the response is a fault.

void GbxResponse::SetRaw ( std::string  response)

Sets the raw message value.

Parameters
responseRaw response from server (XML).

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