4 #ifndef _iqxmlrpc_response_h_
5 #define _iqxmlrpc_response_h_
7 #include <boost/shared_ptr.hpp>
9 #include "api_export.h"
18 #pragma warning(disable: 4251)
31 Response(
int fault_code,
const std::string& fault_string );
34 const Value& value()
const;
44 boost::shared_ptr<Value> value_;
46 std::string fault_string_;
Proxy class to access XML-RPC values by library users.
Definition: value.h:19
std::string dump_response(const Response &response)
Dump response to XML.
Definition: response.cc:26
XML-RPC response.
Definition: response.h:28
XML-RPC library.
Definition: auth_plugin.cc:6
int fault_code() const
Returns fault code of Fault Response.
Definition: response.h:39
bool is_fault() const
Check whether response is an XML-RPC Fault Reponse.
Definition: response.h:37
Response parse_response(const std::string &response_string)
Build response object from XML-formed string.
Definition: response.cc:17
const std::string & fault_string() const
Returns fault string of Fault Response.
Definition: response.h:41