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

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

#include <GbxServerResponse.h>

Inheritance diagram for GbxServerResponse:
GbxCallBack GbxResponse

Public Member Functions

 GbxServerResponse ()
 Empty constructor.
 
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.
 

Detailed Description

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

Member Function Documentation

void GbxServerResponse::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: