Go to the documentation of this file.
7 # pragma warning(disable:4786) // identifier was truncated in debug info
17 # define strcasecmp _stricmp
18 # define strncasecmp _strnicmp
19 #elif defined(__BORLANDC__)
20 # define strcasecmp stricmp
21 # define strncasecmp strnicmp
40 virtual void error(
const char* msg) = 0;
68 virtual void log(
int level,
const char* msg) = 0;
90 static std::string parseTag(
const char* tag, std::string
const& xml,
int* offset);
93 static bool findTag(
const char* tag, std::string
const& xml,
int* offset);
97 static std::string getNextTag(std::string
const& xml,
int* offset);
101 static bool nextTagIs(
const char* tag, std::string
const& xml,
int* offset);
105 static std::string nextTagData(
const char* tag, std::string
const& xml,
int* offset);
108 static std::string xmlEncode(
const std::string& raw);
111 static std::string xmlDecode(
const std::string& encoded);
115 static void log(
int level,
const char* fmt, ...);
118 static void error(
const char* fmt, ...);
123 #endif // _XMLRPCUTIL_H_
XMLRPCPP_DECL void setVerbosity(int level)
Sets log message verbosity. This is short for XmlRpcLogHandler::setVerbosity(level)
virtual ~XmlRpcLogHandler()
An interface allowing custom handling of informational message reporting.
XMLRPCPP_DECL int getVerbosity()
Returns log message verbosity. This is short for XmlRpcLogHandler::getVerbosity()
static XmlRpcLogHandler * getLogHandler()
Returns a pointer to the currently installed message reporting object.
virtual ~XmlRpcErrorHandler()
static void setErrorHandler(XmlRpcErrorHandler *eh)
Specifies the error handler.
static void setVerbosity(int v)
Specify the level of verbosity of informational messages. 0 is no output, 5 is very verbose.
static XMLRPCPP_DECL XmlRpcErrorHandler * _errorHandler
static void setLogHandler(XmlRpcLogHandler *lh)
Specifies the message handler.
virtual void error(const char *msg)=0
Report an error. Custom error handlers should define this method.
An interface allowing custom handling of error message reporting.
Utilities for XML parsing, encoding, and decoding and message handlers.
static XMLRPCPP_DECL int _verbosity
const XMLRPCPP_DECL char XMLRPC_VERSION[]
Version identifier.
static XmlRpcErrorHandler * getErrorHandler()
Returns a pointer to the currently installed error handling object.
static XMLRPCPP_DECL XmlRpcLogHandler * _logHandler
virtual void log(int level, const char *msg)=0
Output a message. Custom error handlers should define this method.
static int getVerbosity()
Returns the level of verbosity of informational messages. 0 is no output, 5 is very verbose.
xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:32