-
Notifications
You must be signed in to change notification settings - Fork 0
/
common_lang_constants.h
147 lines (143 loc) · 5.19 KB
/
common_lang_constants.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
#ifndef __COMMON_LANG_CONSTANTS_H__
#define __COMMON_LANG_CONSTANTS_H__
#include <string>
namespace common_lang_constants
{
//punctuation
const wchar_t TAB = 0x09;
const wchar_t SPACE = 0x20;
const wchar_t COMMA = 0x2C;
const wchar_t LESS_THAN = 60;
const wchar_t GREATER_THAN = 62;
const wchar_t POUND = 35;
const wchar_t AMPERSAND = 38;
const wchar_t SEMICOLON = 59;
const wchar_t APOSTROPHE = 0x27;
const wchar_t DOUBLE_QUOTE = 0x22;
const wchar_t QUESTION_MARK = 0x3F;
const wchar_t PERIOD = 0x2E;
const wchar_t EXLAMATION_MARK = 0x21;
const wchar_t COLON = 0x3A;
const wchar_t FORWARD_SLASH = 0x2F;
const wchar_t BACK_SLASH = 0x5C;
const wchar_t DOLLAR_SIGN = 0x24;
const wchar_t PERCENTAGE_SIGN = 0x25;
const wchar_t HYPHEN = 0x2D;
const wchar_t RIGHT_PARENTHESIS = 0x29;
const wchar_t RIGHT_BRACKET = 0x5D;
const wchar_t INTERROBANG = 0x203D;
//numbers
const wchar_t NUMBER_0 = 0x30;
const wchar_t NUMBER_1 = 0x31;
const wchar_t NUMBER_2 = 0x32;
const wchar_t NUMBER_3 = 0x33;
const wchar_t NUMBER_4 = 0x34;
const wchar_t NUMBER_5 = 0x35;
const wchar_t NUMBER_6 = 0x36;
const wchar_t NUMBER_7 = 0x37;
const wchar_t NUMBER_8 = 0x38;
const wchar_t NUMBER_9 = 0x39;
//constants for letters
const wchar_t UPPER_A = 0x41;
const wchar_t LOWER_A = 0x61;
const wchar_t UPPER_B = 0x42;
const wchar_t LOWER_B = 0x62;
const wchar_t UPPER_C = 0x43;
const wchar_t LOWER_C = 0x63;
const wchar_t UPPER_D = 0x44;
const wchar_t LOWER_D = 0x64;
const wchar_t UPPER_E = 0x45;
const wchar_t LOWER_E = 0x65;
const wchar_t UPPER_F = 0x46;
const wchar_t LOWER_F = 0x66;
const wchar_t UPPER_G = 0x47;
const wchar_t LOWER_G = 0x67;
const wchar_t UPPER_H = 0x48;
const wchar_t LOWER_H = 0x68;
const wchar_t UPPER_I = 0x49;
const wchar_t LOWER_I = 0x69;
const wchar_t UPPER_J = 0x4A;
const wchar_t LOWER_J = 0x6A;
const wchar_t UPPER_K = 0x4B;
const wchar_t LOWER_K = 0x6B;
const wchar_t UPPER_L = 0x4C;
const wchar_t LOWER_L = 0x6C;
const wchar_t UPPER_M = 0x4D;
const wchar_t LOWER_M = 0x6D;
const wchar_t UPPER_N = 0x4E;
const wchar_t LOWER_N = 0x6E;
const wchar_t UPPER_O = 0x4F;
const wchar_t LOWER_O = 0x6F;
const wchar_t UPPER_P = 0x50;
const wchar_t LOWER_P = 0x70;
const wchar_t UPPER_Q = 0x51;
const wchar_t LOWER_Q = 0x71;
const wchar_t UPPER_R = 0x52;
const wchar_t LOWER_R = 0x72;
const wchar_t UPPER_S = 0x53;
const wchar_t LOWER_S = 0x73;
const wchar_t UPPER_T = 0x54;
const wchar_t LOWER_T = 0x74;
const wchar_t UPPER_U = 0x55;
const wchar_t LOWER_U = 0x75;
const wchar_t UPPER_V = 0x56;
const wchar_t LOWER_V = 0x76;
const wchar_t UPPER_W = 0x57;
const wchar_t LOWER_W = 0x77;
const wchar_t UPPER_X = 0x58;
const wchar_t LOWER_X = 0x78;
const wchar_t UPPER_Y = 0x59;
const wchar_t LOWER_Y = 0x79;
const wchar_t UPPER_Z = 0x5A;
const wchar_t LOWER_Z = 0x7A;
const wchar_t UPPER_A_ACUTE = 0xC1;
const wchar_t LOWER_A_ACUTE = 0xE1;
const wchar_t UPPER_E_ACUTE = 0xC9;
const wchar_t LOWER_E_ACUTE = 0xE9;
const wchar_t UPPER_I_ACUTE = 0xCD;
const wchar_t LOWER_I_ACUTE = 0xED;
const wchar_t UPPER_O_ACUTE = 0xD3;
const wchar_t LOWER_O_ACUTE = 0xF3;
const wchar_t LOWER_U_ACUTE = 0xFA;
const wchar_t UPPER_U_ACUTE = 0xDA;
const wchar_t UPPER_A_CIRCUMFLEX = 0xC2;
const wchar_t LOWER_A_CIRCUMFLEX = 0xE2;
const wchar_t UPPER_E_CIRCUMFLEX = 0xCA;
const wchar_t LOWER_E_CIRCUMFLEX = 0xEA;
const wchar_t UPPER_I_CIRCUMFLEX = 0xCE;
const wchar_t LOWER_I_CIRCUMFLEX = 0xEE;
const wchar_t UPPER_A_TILDE = 0xC3;
const wchar_t LOWER_A_TILDE = 0xE3;
const wchar_t UPPER_O_TILDE = 0xD5;
const wchar_t LOWER_O_TILDE = 0xF5;
const wchar_t UPPER_N_TILDE = 0xD1;
const wchar_t LOWER_N_TILDE = 0xF1;
const wchar_t UPPER_O_STROKE = 0xD8;
const wchar_t LOWER_O_STROKE = 0xF8;
const wchar_t UPPER_C_CEDILLA = 0xC7;
const wchar_t LOWER_C_CEDILLA = 0xE7;
const wchar_t UPPER_A_UMLAUTS = 0xC4;
const wchar_t LOWER_A_UMLAUTS = 0xE4;
const wchar_t UPPER_O_UMLAUTS = 0xD6;
const wchar_t LOWER_O_UMLAUTS = 0xF6;
const wchar_t UPPER_E_UMLAUTS = 0xCB;
const wchar_t LOWER_E_UMLAUTS = 0xEB;
const wchar_t UPPER_I_UMLAUTS = 0xCF;
const wchar_t LOWER_I_UMLAUTS = 0xEF;
const wchar_t UPPER_U_UMLAUTS = 0xDC;
const wchar_t LOWER_U_UMLAUTS = 0xFC;
const wchar_t TILDE = 0x7E;
const wchar_t UPPER_A_GRAVE = 0xC0;
const wchar_t LOWER_A_GRAVE = 0xE0;
const wchar_t UPPER_E_GRAVE = 0xC8;
const wchar_t LOWER_E_GRAVE = 0xE8;
const wchar_t UPPER_I_GRAVE = 0xCC;
const wchar_t LOWER_I_GRAVE = 0xEC;
const wchar_t UPPER_O_GRAVE = 0xD2;
const wchar_t LOWER_O_GRAVE = 0xF2;
const wchar_t UPPER_Y_ACUTE = 0xDD;
const wchar_t LOWER_Y_ACUTE = 0xFD;
const wchar_t ESZETT = 0xDF; //a.k.a. "sharp s"
const wchar_t Y_UMLAUT = 0xFF;
}
#endif //__COMMON_LANG_CONSTANTS_H__