source: icGREP/icgrep-devel/icgrep/UCD/CompositionExclusions.h @ 6192

Last change on this file since 6192 was 6192, checked in by cameron, 11 months ago

Updates for Unicode 11.0 plus Emoji properties

File size: 2.0 KB
Line 
1#ifndef COMPOSITIONEXCLUSIONS_H
2#define COMPOSITIONEXCLUSIONS_H
3/*
4 *  Copyright (c) 2018 International Characters, Inc.
5 *  This software is licensed to the public under the Open Software License 3.0.
6 *  icgrep is a trademark of International Characters, Inc.
7 *
8 *  This file is generated by UCD_properties.py - manual edits may be lost.
9 */
10
11#include "PropertyAliases.h"
12#include "PropertyObjects.h"
13#include "PropertyValueAliases.h"
14#include "unicode_set.h"
15
16namespace UCD {
17    namespace CE_ns {
18        /** Code Point Ranges for CE
19        [0958, 095f], [09dc, 09dd], [09df, 09df], [0a33, 0a33],
20        [0a36, 0a36], [0a59, 0a5b], [0a5e, 0a5e], [0b5c, 0b5d],
21        [0f43, 0f43], [0f4d, 0f4d], [0f52, 0f52], [0f57, 0f57],
22        [0f5c, 0f5c], [0f69, 0f69], [0f76, 0f76], [0f78, 0f78],
23        [0f93, 0f93], [0f9d, 0f9d], [0fa2, 0fa2], [0fa7, 0fa7],
24        [0fac, 0fac], [0fb9, 0fb9], [2adc, 2adc], [fb1d, fb1d],
25        [fb1f, fb1f], [fb2a, fb36], [fb38, fb3c], [fb3e, fb3e],
26        [fb40, fb41], [fb43, fb44], [fb46, fb4e], [1d15e, 1d164],
27        [1d1bb, 1d1c0]**/
28
29
30        namespace {
31        const static UnicodeSet::run_t __codepoint_set_runs[] = {
32        {Empty, 74}, {Mixed, 1}, {Empty, 3}, {Mixed, 1}, {Empty, 2},
33        {Mixed, 2}, {Empty, 7}, {Mixed, 1}, {Empty, 31}, {Mixed, 4},
34        {Empty, 216}, {Mixed, 1}, {Empty, 1665}, {Mixed, 3}, {Empty, 1711},
35        {Mixed, 2}, {Empty, 1}, {Mixed, 2}, {Empty, 31089}};
36        const static UnicodeSet::bitquad_t  __codepoint_set_quads[] = {
37        0xff000000, 0xb0000000, 0x00480000, 0x4e000000, 0x30000000,
38        0x10842008, 0x01400200, 0x20080000, 0x02001084, 0x10000000,
39        0xa0000000, 0x5f7ffc00, 0x00007fdb, 0xc0000000, 0x0000001f,
40        0xf8000000, 0x00000001};
41        }
42
43        const static UnicodeSet codepoint_set{const_cast<UnicodeSet::run_t *>(__codepoint_set_runs), 19, 0, const_cast<UnicodeSet::bitquad_t *>(__codepoint_set_quads), 17, 0};
44
45        static BinaryPropertyObject property_object{CE, std::move(codepoint_set)};
46    }
47}
48
49#endif
Note: See TracBrowser for help on using the repository browser.