Helper classes and types for manipulating Unicode. More...
#include <xmltooling/base.h>#include <string>#include <iostream>#include <xercesc/util/XMLString.hpp>Classes | |
| class | xmltooling::auto_ptr_char |
| A minimal auto_ptr-like class that can copy or transcode a buffer into the local code page and free the result automatically. More... | |
| class | xmltooling::auto_ptr_XMLCh |
| A minimal auto_ptr-like class that can copy or transcode a buffer into 16-bit Unicode and free the result automatically. More... | |
| class | xmltooling::auto_arrayptr< T > |
| An auto_ptr that uses array delete on its contents. More... | |
Namespaces | |
| namespace | xmltooling |
Public namespace of XML Tooling library. | |
Typedefs | |
| typedef std::basic_string< XMLCh > | xmltooling::xstring |
| An STL string type that supports 16-bit Unicode. | |
Functions | |
| char * | xmltooling::toUTF8 (const XMLCh *src, bool use_malloc=false) |
| Transcodes a 16-bit Unicode string into UTF-8. | |
| XMLCh * | xmltooling::fromUTF8 (const char *src, bool use_malloc=false) |
| Transcodes a UTF-8 string into 16-bit Unicode. | |
| std::ostream & | xmltooling::operator<< (std::ostream &ostr, const XMLCh *s) |
| Writes a Unicode string to an ASCII stream by transcoding to UTF8. | |
| std::ostream & | xmltooling::operator<< (std::ostream &ostr, const xstring &s) |
| Writes a Unicode string to an ASCII stream by transcoding to UTF8. | |
Helper classes and types for manipulating Unicode.
1.6.1