ICU 76.1 76.1
Loading...
Searching...
No Matches
stringoptions.h
Go to the documentation of this file.
1// © 2017 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
3
4// stringoptions.h
5// created: 2017jun08 Markus W. Scherer
6
7#ifndef __STRINGOPTIONS_H__
8#define __STRINGOPTIONS_H__
9
10#include "unicode/utypes.h"
11
22#define U_FOLD_CASE_DEFAULT 0
23
40#define U_FOLD_CASE_EXCLUDE_SPECIAL_I 1
41
53#define U_TITLECASE_WHOLE_STRING 0x20
54
66#define U_TITLECASE_SENTENCES 0x40
67
85#define U_TITLECASE_NO_LOWERCASE 0x100
86
109#define U_TITLECASE_NO_BREAK_ADJUSTMENT 0x200
110
129#define U_TITLECASE_ADJUST_TO_CASED 0x400
130
140#define U_EDITS_NO_RESET 0x2000
141
152#define U_OMIT_UNCHANGED_TEXT 0x4000
153
159#define U_COMPARE_CODE_POINT_ORDER 0x8000
160
166#define U_COMPARE_IGNORE_CASE 0x10000
167
173#define UNORM_INPUT_IS_FCD 0x20000
174
175// Related definitions elsewhere.
176// Options that are not meaningful in the same functions
177// can share the same bits.
178//
179// Public:
180// unicode/unorm.h #define UNORM_COMPARE_NORM_OPTIONS_SHIFT 20
181//
182// Internal: (may change or be removed)
183// ucase.h #define _STRCASECMP_OPTIONS_MASK 0xffff
184// ucase.h #define _FOLD_CASE_OPTIONS_MASK 7
185// ucasemap_imp.h #define U_TITLECASE_ITERATOR_MASK 0xe0
186// ucasemap_imp.h #define U_TITLECASE_ADJUSTMENT_MASK 0x600
187// ustr_imp.h #define _STRNCMP_STYLE 0x1000
188// unormcmp.cpp #define _COMPARE_EQUIV 0x80000
189
190#endif // __STRINGOPTIONS_H__
Basic definitions for ICU, for both C and C++ APIs.