#include <XmlRpcUtil.h>
Static Public Member Functions | |
std::string | parseTag (const char *tag, std::string const &xml, int *offset) |
Returns contents between and , updates offset to char after . | |
bool | findTag (const char *tag, std::string const &xml, int *offset) |
Returns true if the tag is found and updates offset to the char after the tag. | |
std::string | getNextTag (std::string const &xml, int *offset) |
Returns the next tag and updates offset to the char after the tag, or empty string if the next non-whitespace character is not '<'. | |
bool | nextTagIs (const char *tag, std::string const &xml, int *offset) |
Returns true if the tag is found at the specified offset (modulo any whitespace) and updates offset to the char after the tag. | |
std::string | xmlEncode (const std::string &raw) |
Convert raw text to encoded xml. | |
std::string | xmlDecode (const std::string &encoded) |
Convert encoded xml to raw text. | |
void | log (int level, const char *fmt,...) |
Dump messages somewhere. | |
void | error (const char *fmt,...) |
Dump error messages somewhere. |