Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SmartSockets::XML Class Reference

#include <txml.h>

List of all members.

Public Methods

 XML (const char *xml) throw (XMLException)
 XML (T_XML xml) throw (XMLException)
virtual ~XML () throw ()
 operator T_XML () const throw ()
T_XML clone () const throw (XMLException)
const char * getString () const throw (XMLException)
void setString (const char *xml) throw (XMLException)

Static Public Methods

T_XML createFromStaticBuf (const char *xml) throw (XMLException)


Detailed Description

XML implements all the TutXml methods for handling T_XML objects.


Constructor & Destructor Documentation

SmartSockets::XML::XML const char *    xml throw (XMLException)
 

Constructs an XML object containing an XML string.

Parameters:
xml  is a const string containing the XML.

SmartSockets::XML::XML T_XML    xml throw (XMLException) [inline]
 

Constructs an XML object from the C structure.

virtual SmartSockets::XML::~XML   throw () [virtual]
 

Destructor


Member Function Documentation

T_XML SmartSockets::XML::clone   const throw (XMLException)
 

Clones this XML object. Maps to TutXmlClone.

Returns:
a copy of this XML object.

T_XML SmartSockets::XML::createFromStaticBuf const char *    xml throw (XMLException) [static]
 

Creates an XML object from a static buffer. It does not clone the data which must remain valid for the lifetime of the newly created XML object. Maps to TutXmlCreateStatic.

Parameters:
xml  is the static buffer.
Returns:
the newly created XML object.

const char* SmartSockets::XML::getString   const throw (XMLException)
 

Gets the XML string associated with this XML object.

Returns:
the XML string.

SmartSockets::XML::operator T_XML   const throw () [inline]
 

Typecast operator for compatibility with the C API.

void SmartSockets::XML::setString const char *    xml throw (XMLException)
 

Sets the XML string associated with this XML object.

Parameters:
xml  is the new XML string.


The documentation for this class was generated from the following file:
Generated on Fri Jul 14 15:05:56 2006 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001