dtUtil::XMLStringConverter Class Reference

Utility methods for using strings, often for XML purposes. More...

#include <xercesutils.h>

List of all members.

Public Member Functions

 XMLStringConverter (const XMLCh *const charData)
 ~XMLStringConverter ()
const char * c_str ()
 
Returns:
the XMLCh string as a char*

const std::string ToString ()


Detailed Description

Utility methods for using strings, often for XML purposes.

This is a simple class that lets us do easy (though not terribly efficient) trancoding of XMLCh data to local code page for display. This code was take from the xerces-c 2.6 samples
It's main reason for existing is to allow short and quick translations for printing out debugging info.


Constructor & Destructor Documentation

dtUtil::XMLStringConverter::XMLStringConverter ( const XMLCh *const   charData  )  [inline]

dtUtil::XMLStringConverter::~XMLStringConverter (  )  [inline]


Member Function Documentation

const char* dtUtil::XMLStringConverter::c_str (  )  [inline]

Returns:
the XMLCh string as a char*

const std::string dtUtil::XMLStringConverter::ToString (  )  [inline]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008