YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
YSLib 标准字符串(使用 UCS-2 作为内部编码)。 更多...
#include <ystring.h>
Public 成员函数 | |
DefDeCtor (String) DefDeCopyCtor(String) DefDeMoveCtor(String) String(const ucs2_t *s) | |
无参数构造:默认实现。 更多... | |
template<typename _tChar > | |
String (const _tChar *s, Encoding enc=CS_Default) | |
构造:使用字符指针表示的 NTCTS 和指定编码。 更多... | |
String (const ucs2string &s) | |
构造:使用 YSLib 基本字符串。 更多... | |
String (ucs2string &&s) | |
构造:使用 YSLib 基本字符串右值引用。 更多... | |
template<typename _tChar > | |
String (const std::basic_string< _tChar > &s, Encoding enc=CS_Default) | |
构造:使用指定字符类型的 std::basic_string 和指定编码。 更多... | |
DefDeDtor (String) DefDeCopyAssignment(String) DefDeMoveAssignment(String) String &operator* | |
复制赋值:默认实现。 更多... | |
PDefH (string, GetMBCS, Encoding enc=CS_Default) const ImplRet(GetMBCSOf< string >(*this | |
取指定编码的多字节字符串。 更多... | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
YSLib::Text::String::DefDeDtor | ( | String | ) |
复制赋值:默认实现。
转移赋值:默认实现。
重复串接。
取指定编码的多字节字符串。