YSTest: CharacterDefinition.h 源文件

YSTest PreAlpha_b700_20160611 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

CharacterDefinition.h
浏览该文件的文档.
1 /*
2 © 2009-2014 FrankHB.
3
4 This file is part of the YSLib project, and may only be used,
5 modified, and distributed under the terms of the YSLib project
6 license, LICENSE.TXT. By continuing to use, modify, or distribute
7 this file you indicate that you have read the license and
8 understand and accept it fully.
9 */
10
28 #ifndef YF_INC_CHRLib_CharacterDefinition_h_
29 #define YF_INC_CHRLib_CharacterDefinition_h_ 1
30
31 #include "YModules.h"
32 #include <ystdex/tstring_view.hpp> // for ystdex::byte, ystdex::octet,
33 // ystdex::size_t, std::char_traits, ystdex::string_view,
34 // ystdex::u16string_view, ystdex::u32string_view, ystdex::tstring_view,
35 // ystdex::u16tstring_view, ystdex::u32tstring_view;
36 #include YFM_YCLib_Platform // for YF_API;
37
38 namespace CHRLib
39 {
40
41 using ystdex::byte;
43 using ystdex::octet;
44 using ystdex::size_t;
45
47 using ucsint_t = std::char_traits<char32_t>::int_type;
48
50 using ystdex::basic_string_view;
52
53 using ystdex::string_view;
54 using ystdex::u16string_view;
55 using ystdex::u32string_view;
56 using ystdex::tstring_view;
57 using ystdex::u16tstring_view;
58 using ystdex::u32tstring_view;
60
61 } // namespace CHRLib;
62
63 #endif
64
ystdex::string_view
basic_string_view< char > string_view
Definition: string_view.hpp:415
ystdex::tstring_view
basic_tstring_view< char > tstring_view
Definition: tstring_view.hpp:291
ystdex::u32string_view
basic_string_view< char32_t > u32string_view
Definition: string_view.hpp:417
ystdex::u16tstring_view
basic_tstring_view< char16_t > u16tstring_view
Definition: tstring_view.hpp:292
platform::size_t
YF_API size_t
Definition: FileIO.h:1262
ystdex::octet
void octet
Definition: ydef.h:818
CHRLib::ucsint_t
std::char_traits< char32_t >::int_type ucsint_t
UCS 整数类型。
Definition: CharacterDefinition.h:47
ystdex::u32tstring_view
basic_tstring_view< char32_t > u32tstring_view
Definition: tstring_view.hpp:293
ystdex::basic_string_view
Definition: string_view.hpp:49
YModules.h
ystdex::u16string_view
basic_string_view< char16_t > u16string_view
Definition: string_view.hpp:416
CHRLib
Definition: CharacterDefinition.h:38
ystdex::byte
unsigned char byte
字节类型。
Definition: ydef.h:808
tstring_view.hpp
指定结束字符的只读字符串视图。