u5e
UnicodeTextC++Library
grapheme_cluster_break.hpp
1 #ifndef INCLUDED_U5E_PROPS_GRAPHEME_CLUSTER_BREAK
2 #define INCLUDED_U5E_PROPS_GRAPHEME_CLUSTER_BREAK
3 
4 #include <stdlib.h>
5 #include <u5e/codepoint.hpp>
6 
7 namespace u5e {
8  /**
9  * \brief codepoint property handling
10  */
11  namespace props {
12  /**
13  * \brief Grapheme Cluster Break property for a codepoint
14  */
16  public:
17  /**
18  * Possible values for the property as specified by the standard
19  */
21  OTHER,
22  PREPEND,
23  CR,
24  LF,
25  CONTROL,
26  EXTEND,
27  REGIONAL_INDICATOR,
28  SPACINGMARK,
29  L,
30  V,
31  T,
32  LV,
33  LVT,
34  E_BASE,
35  E_MODIFIER,
36  ZWJ,
37  GLUE_AFTER_ZWJ,
38  E_BASE_GAZ,
39  };
40 
41  /**
42  * Return the value of the property for the given codepoint by
43  * looking at the database.
44  */
46  };
47  };
48 };
49 
50 #endif
Grapheme Cluster Break property for a codepoint.
main u5e namespace
Native representation of a codepoint.
Definition: codepoint.hpp:15
static prop_value_type resolve(codepoint c)
codepoint property handling