Main Page   Class Hierarchy   Compound List   File List   Compound 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 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.


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 Thu Mar 6 11:32:58 2003 for XmlRpc++ by doxygen1.3-rc3