Main Page | Class Hierarchy | Class List | File List | Class Members

XmlRpc::XmlRpcUtil Class Reference

Utilities for XML parsing, encoding, and decoding and message handlers. More...

#include <XmlRpcUtil.h>

List of all members.

Static Public Member Functions

std::string parseTag (const char *tag, std::string const &xml, int *offset)
 Returns contents between <tag> and </tag>, updates offset to char after </tag>.
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.


Detailed Description

Utilities for XML parsing, encoding, and decoding and message handlers.


The documentation for this class was generated from the following files:
Generated on Tue Sep 20 02:39:48 2005 for XmlRpc++ by  doxygen 1.3.9.1