#include <ucstring.h>
Inherits basic_string< ucchar >.
Public Member Functions | |
| ucstring () | |
| ucstring (const ucstringbase &str) | |
| ucstring (const std::string &str) | |
| ~ucstring () | |
| ucstring & | operator= (ucchar c) |
| ucstring & | operator= (const char *str) |
| ucstring & | operator= (const std::string &str) |
| ucstring & | operator= (const ucstringbase &str) |
| ucstring & | operator= (const ucchar *str) |
| ucstring & | operator+= (ucchar c) |
| ucstring & | operator+= (const char *str) |
| ucstring & | operator+= (const std::string &str) |
| ucstring & | operator+= (const ucstringbase &str) |
| const ucchar * | c_str () const |
| void | toString (std::string &str) const |
| Converts the controlled ucstring to a string str. | |
| std::string | toString () const |
| Converts the controlled ucstring and returns the resulting string. | |
| std::string | toUtf8 () const |
| Convert this ucstring (16bits char) into a utf8 string. | |
| ucstring | luabind_substr (size_type pos=0, size_type n=npos) const |
| void | fromUtf8 (const std::string &stringUtf8) |
| Convert the utf8 string into this ucstring (16 bits char). | |
Static Public Member Functions | |
| static ucstring | makeFromUtf8 (const std::string &stringUtf8) |
Private Member Functions | |
| void | rawCopy (const std::string &str) |
Definition at line 40 of file ucstring.h.
| ucstring::ucstring | ( | ) | [inline] |
Definition at line 44 of file ucstring.h.
| ucstring::ucstring | ( | const ucstringbase & | str | ) | [inline] |
Definition at line 46 of file ucstring.h.
| ucstring::ucstring | ( | const std::string & | str | ) | [inline] |
Definition at line 48 of file ucstring.h.
References rawCopy().
| ucstring::~ucstring | ( | ) | [inline] |
Definition at line 53 of file ucstring.h.
| const ucchar* ucstring::c_str | ( | ) | const [inline] |
Definition at line 128 of file ucstring.h.
Referenced by NL3D::CDriverD3D::init(), NL3D::CDriverD3D::setDisplay(), NL3D::CDriverGL::setWindowTitle(), and NL3D::CDriverD3D::setWindowTitle().
| void ucstring::fromUtf8 | ( | const std::string & | stringUtf8 | ) | [inline] |
Convert the utf8 string into this ucstring (16 bits char).
Definition at line 202 of file ucstring.h.
References rawCopy().
Referenced by NLMISC::CVariable< std::string >::execute(), makeFromUtf8(), NLMISC::CI18N::readTextBuffer(), and NLMISC::CIXml::serial().
| ucstring ucstring::luabind_substr | ( | size_type | pos = 0, |
|
| size_type | n = npos | |||
| ) | const [inline] |
Definition at line 196 of file ucstring.h.
References NLMISC::n.
| static ucstring ucstring::makeFromUtf8 | ( | const std::string & | stringUtf8 | ) | [inline, static] |
Definition at line 283 of file ucstring.h.
References fromUtf8().
Referenced by NLMISC::CStdDisplayer::doDisplay().
| ucstring& ucstring::operator+= | ( | const ucstringbase & | str | ) | [inline] |
Definition at line 122 of file ucstring.h.
References operator+=().
| ucstring& ucstring::operator+= | ( | const std::string & | str | ) | [inline] |
Definition at line 111 of file ucstring.h.
| ucstring& ucstring::operator+= | ( | const char * | str | ) | [inline] |
Definition at line 100 of file ucstring.h.
Definition at line 93 of file ucstring.h.
Referenced by operator+=().
Definition at line 88 of file ucstring.h.
References operator=().
| ucstring& ucstring::operator= | ( | const ucstringbase & | str | ) | [inline] |
Definition at line 82 of file ucstring.h.
References operator=().
| ucstring& ucstring::operator= | ( | const std::string & | str | ) | [inline] |
Definition at line 72 of file ucstring.h.
| ucstring& ucstring::operator= | ( | const char * | str | ) | [inline] |
Definition at line 62 of file ucstring.h.
Definition at line 55 of file ucstring.h.
Referenced by operator=().
| void ucstring::rawCopy | ( | const std::string & | str | ) | [inline, private] |
Definition at line 293 of file ucstring.h.
Referenced by fromUtf8(), and ucstring().
| std::string ucstring::toString | ( | ) | const [inline] |
Converts the controlled ucstring and returns the resulting string.
Definition at line 149 of file ucstring.h.
| void ucstring::toString | ( | std::string & | str | ) | const [inline] |
Converts the controlled ucstring to a string str.
Definition at line 136 of file ucstring.h.
Referenced by NLMISC::CI18N::_readTextFile(), NLMISC::CEntityIdTranslator::checkEntity(), NLMISC::CVariable< std::string >::execute(), NLMISC::CEntityIdTranslator::getByEntity(), STRING_MANAGER::TWorksheet::getData(), NLMISC::CEntityIdTranslator::getRegisterableString(), NLMISC::CEntityIdTranslator::isValidEntityName(), NLMISC::NLMISC_CATEGORISED_COMMAND(), STRING_MANAGER::TGetWorksheetHashValue::operator()(), STRING_MANAGER::TGetWorksheetIdentifier::operator()(), STRING_MANAGER::parseHashFromComment(), STRING_MANAGER::preparePhraseFile(), STRING_MANAGER::prepareStringFile(), STRING_MANAGER::readExcelSheet(), NLMISC::CEntityIdTranslator::registerEntity(), STRING_MANAGER::TWorksheet::setData(), NLMISC::CEntityIdTranslator::unregisterEntity(), and NLMISC::CEntityIdTranslator::updateEntity().
| std::string ucstring::toUtf8 | ( | ) | const [inline] |
Convert this ucstring (16bits char) into a utf8 string.
Definition at line 157 of file ucstring.h.
Referenced by NLMISC::CI18N::encodeUTF8(), NLMISC::CConfigFile::reparse(), NLMISC::COXml::serial(), and NL3D::CDriverGL::setWindowTitle().
1.6.1