Om
separator_symbol.hpp
Go to the documentation of this file.
1 
15 #ifndef Om_Language_Symbol_SeparatorSymbol_
16 
17  #define Om_Language_Symbol_SeparatorSymbol_ \
18  Om::Language::Symbol::SeparatorSymbol
19 
20  #include "om/macro.hpp"
21 
26  #define Om_Language_Symbol_SeparatorSymbol_GetCases_() \
27  case Symbol::theSpaceSeparatorSymbol: \
28  case Symbol::theLineSeparatorSymbol: \
29  case Symbol::theTabSeparatorSymbol
30 
35  #define Om_Language_Symbol_SeparatorSymbol_GetSpaceHex_() \
36  20
37 
42  #define Om_Language_Symbol_SeparatorSymbol_GetLineHex_() \
43  0A
44 
49  #define Om_Language_Symbol_SeparatorSymbol_GetTabHex_() \
50  09
51 
56  #define Om_Language_Symbol_SeparatorSymbol_GetSpaceString_() \
57  Om_Macro_GetString_( \
58  Om_Language_Symbol_SeparatorSymbol_GetSpaceHex_() \
59  )
60 
65  #define Om_Language_Symbol_SeparatorSymbol_GetLineString_() \
66  Om_Macro_GetString_( \
67  Om_Language_Symbol_SeparatorSymbol_GetLineHex_() \
68  )
69 
74  #define Om_Language_Symbol_SeparatorSymbol_GetTabString_() \
75  Om_Macro_GetString_( \
76  Om_Language_Symbol_SeparatorSymbol_GetTabHex_() \
77  )
78 
79 namespace Om {
80 
81  namespace Language {
82 
83  namespace Symbol {
84 
90 
93  ),
94 
97  ),
98 
101  )
102 
103  };
104 
105  }
106 
107  }
108 
109 }
110 
111 #endif
Om header file.
#define Om_Macro_GetNumber_(theHex)
Converts a bare hexadecimal to a numeric literal.
Definition: macro.hpp:50
SeparatorSymbol
A Separator symbol.
The Om library.
Definition: code_point.hpp:26
#define Om_Language_Symbol_SeparatorSymbol_GetLineHex_()
Gets the bare hexadecimal code for Om::Language::Symbol::theLineSeparatorSymbol.
#define Om_Language_Symbol_SeparatorSymbol_GetSpaceHex_()
Gets the bare hexadecimal code for Om::Language::Symbol::theSpaceSeparatorSymbol.
#define Om_Language_Symbol_SeparatorSymbol_GetTabHex_()
Gets the bare hexadecimal code for Om::Language::Symbol::theTabSeparatorSymbol.