|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
本机文本编码转换。 更多...
函数 | |
| YF_API std::string | platform_ex::Windows::MBCSToMBCS (const char *, std::size_t, int=CP_UTF8, int=CP_ACP) |
| 转换第一个 int 参数指定编码的字符串为第二个 int 参数指定的编码。 更多... | |
| platform_ex::Windows::RegisterKey (::HKEY h_parent, const wchar_t *key) | |
| 注册表键。 更多... | |
| platform_ex::Windows::~RegisterKey () | |
| platform_ex::Windows::DefGetter (const ynothrow,::HKEY, Key, h_key)} | |
| YF_API std::string | platform_ex::Windows::UTF8ToMBCS (const char *, std::size_t, int=CP_ACP) |
| std::string | platform_ex::Windows::UTF8ToMBCS (const char *str, int cp=CP_ACP) |
| std::string | platform_ex::Windows::UTF8ToMBCS (const std::string &str, int cp=CP_ACP) |
| std::string | platform_ex::Windows::WCSToMBCS (const wchar_t *str, std::size_t len, int cp) |
| std::string | platform_ex::Windows::WCSToMBCS (const wchar_t *str, int cp=CP_ACP) |
| std::string | platform_ex::Windows::WCSToMBCS (const std::wstring &str, int cp=CP_ACP) |
| std::wstring | platform_ex::Windows::MBCSToWCS (const char *str, std::size_t len, int cp) |
| std::wstring | platform_ex::Windows::MBCSToWCS (const char *str, int cp=CP_ACP) |
| std::wstring | platform_ex::Windows::MBCSToWCS (const std::string &str, int cp=CP_ACP) |
| using | platform_ex::Windows::Win32Exception::ErrorCode = ::DWORD |
| ErrorCode | platform_ex::Windows::Win32Exception::err |
| platform_ex::Windows::Win32Exception::Message | |
| platform_ex::Windows::Win32Exception::ErrorCode | |
| platform_ex::Windows::Win32Exception::Win32Exception (ErrorCode, const std::string &="Win32 exception", LevelType={}) ynothrow | |
| platform_ex::Windows::Win32Exception::DefGetter (const ynothrow, ErrorCode, ErrorCode, err) DefGetter(const ynothrow | |
| platform_ex::Windows::Win32Exception::FormatMessage (err)) explicit DefCvt(const ynothrow | |
| static err std::string | platform_ex::Windows::Win32Exception::FormatMessage (ErrorCode) ynothrow |
| 格式化错误消息字符串。 更多... | |
本机文本编码转换。
| using platform_ex::Windows::Win32Exception::ErrorCode = ::DWORD |
在文件 include/YCLib/MinGW32.h 第 65 行定义.
| platform_ex::Windows::Win32Exception::DefGetter | ( | const ynothrow | , |
| ErrorCode | , | ||
| ErrorCode | , | ||
| err | |||
| ) | const |
| platform_ex::Windows::DefGetter | ( | const ynothrow | , |
| ::HKEY | , | ||
| Key | , | ||
| h_key | |||
| ) |
| platform_ex::Windows::Win32Exception::FormatMessage | ( | err | ) | const |
|
static |
格式化错误消息字符串。
在文件 MinGW32.cpp 第 57 行定义.
参考 platform_ex::Windows::WCSToMBCS().

| std::string platform_ex::Windows::MBCSToMBCS | ( | const char * | str, |
| std::size_t | len, | ||
| int | cp_src = CP_UTF8, |
||
| int | cp_dst = CP_ACP |
||
| ) |
转换第一个 int 参数指定编码的字符串为第二个 int 参数指定的编码。
在文件 MinGW32.cpp 第 98 行定义.
参考 platform_ex::Windows::WCSToMBCS().

| YF_API std::wstring platform_ex::Windows::MBCSToWCS | ( | const char * | str, |
| std::size_t | len, | ||
| int | cp | ||
| ) |
|
inline |
在文件 E/include/YCLib/MinGW32.h 第 165 行定义.
参考 platform_ex::Windows::MBCSToWCS() , 以及 ystdex::ntctslen().

|
inline |
|
inline |
| YF_API std::string platform_ex::Windows::UTF8ToMBCS | ( | const char * | , |
| std::size_t | , | ||
| int | = CP_ACP |
||
| ) |
|
inline |
在文件 E/include/YCLib/MinGW32.h 第 139 行定义.
参考 ystdex::ntctslen() , 以及 platform_ex::Windows::UTF8ToMBCS().

|
inline |
| YF_API std::string platform_ex::Windows::WCSToMBCS | ( | const wchar_t * | str, |
| std::size_t | len, | ||
| int | cp | ||
| ) |
在文件 MinGW32.cpp 第 113 行定义.
参考自 platform_ex::Windows::Win32Exception::FormatMessage(), platform_ex::Windows::MBCSToMBCS() , 以及 platform_ex::Windows::WCSToMBCS().

|
inline |
在文件 E/include/YCLib/MinGW32.h 第 152 行定义.
参考 ystdex::ntctslen() , 以及 platform_ex::Windows::WCSToMBCS().

|
inline |
| platform_ex::Windows::Win32Exception::Win32Exception | ( | ErrorCode | , |
| const std::string & | = "Win32 exception", |
||
| LevelType | = {} |
||
| ) |
| platform_ex::Windows::~RegisterKey | ( | ) |
在文件 include/YCLib/MinGW32.h 第 166 行定义.
|
private |
在文件 include/YCLib/MinGW32.h 第 68 行定义.
| platform_ex::Windows::Win32Exception::Message |
在文件 include/YCLib/MinGW32.h 第 80 行定义.