A few functions to help the XML system perform conversions between UTF8 and the native wide character UTF implementation. More...
#include "datatypes.h"
Go to the source code of this file.
Namespaces | |
Mezzanine | |
The bulk of the engine components go in this namspace. | |
Mezzanine::XML | |
All tools for working with XML are located in this namespace. | |
Constant Groups | |
Mezzanine | |
The bulk of the engine components go in this namspace. | |
Mezzanine::XML | |
All tools for working with XML are located in this namespace. | |
Functions | |
std::basic_string< char, std::char_traits< char > , std::allocator< char > > MEZZ_LIB | Mezzanine::XML::AsUtf8 (const wchar_t *str) |
Convert a c-style string of wchar_t to std::string containing UTF8. More... | |
std::basic_string< char, std::char_traits< char > , std::allocator< char > > MEZZ_LIB | Mezzanine::XML::AsUtf8 (const std::basic_string< wchar_t, std::char_traits< wchar_t >, std::allocator< wchar_t > > &str) |
Convert a std::wstring to a UTF8 std::string. More... | |
std::basic_string< wchar_t, std::char_traits< wchar_t > , std::allocator< wchar_t > > MEZZ_LIB | Mezzanine::XML::AsWide (const char *str) |
Convert a Convert a c-style string to std::wstring containing native encoding (Usually UCS2 on windows and UTF32 on Linux/Mac). More... | |
std::basic_string< wchar_t, std::char_traits< wchar_t > , std::allocator< wchar_t > > MEZZ_LIB | Mezzanine::XML::AsWide (const std::basic_string< char, std::char_traits< char >, std::allocator< char > > &str) |
Convert a Convert a std::string to std::wstring containing native encoding (Usually UCS2 on windows and UTF32 on Linux/Mac). More... | |
String | Mezzanine::XML::EscapeXML (const String &XMLText) |
Convert < > & and " in text to <, >, & and "e so text can safely be stored in XML. More... | |
String | Mezzanine::XML::GetOneTag (std::istream &stream) |
Gets the first tag out of the Stream and returns it as a String. More... | |
Document * | Mezzanine::XML::PreParseClassFromSingleTag (const String &NameSpace, const String &ClassName, const String &OneTag) |
Perform a basic series of checks for extracting meaning from a single xml tag. More... | |
Document * | Mezzanine::XML::PreParseClassFromSingleTag (const String &ClassName, const String &OneTag) |
Calls PreParseClassFromSingleTag passing a "" as the Namespace. More... | |
A few functions to help the XML system perform conversions between UTF8 and the native wide character UTF implementation.
Definition in file xmlstring.h.