source: icGREP/icgrep-devel/icgrep/UCD/Equivalence.h @ 6180

Last change on this file since 6180 was 6180, checked in by cameron, 5 months ago

Transformations to match all canonical/caseless and/or compatibility equivalents

File size: 565 bytes
Line 
1#ifndef EQUIVALENCE_H
2#define EQUIVALENCE_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 */
9#include <UCD/unicode_set.h>
10
11namespace UCD {
12   
13enum EquivalenceOptions {Canonical = 0, Caseless = 1, Compatible = 2};
14   
15bool hasOption(enum EquivalenceOptions optionSet, enum EquivalenceOptions testOption);
16
17UnicodeSet equivalentCodepoints(codepoint_t, EquivalenceOptions options = Canonical);
18   
19}
20
21#endif
Note: See TracBrowser for help on using the repository browser.