SuperTuxKart
|
utility class used to write wide (UTF-16 or UTF-32, depending of size of wchar_t) XML files More...
#include <utf_writer.hpp>
Public Member Functions | |
UTFWriter (const char *dest, bool wide) | |
void | close () |
UTFWriter & | operator<< (const irr::core::stringw &txt) |
UTFWriter & | operator<< (const wchar_t *txt) |
UTFWriter & | operator<< (const char *txt) |
UTFWriter & | operator<< (const std::string &txt) |
UTFWriter & | operator<< (const bool &b) |
template<typename T > | |
UTFWriter & | operator<< (const T &t) |
bool | is_open () |
Private Attributes | |
std::ofstream | m_base |
bool | m_wide |
If true, use utf-16/32 (obsolete) | |
utility class used to write wide (UTF-16 or UTF-32, depending of size of wchar_t) XML files