ICU 60.2 60.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

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
42 #ifndef U_HIDE_DRAFT_API
43
55 #define U_TITLECASE_WHOLE_STRING 0x20
56
68 #define U_TITLECASE_SENTENCES 0x40
69
70 #endif // U_HIDE_DRAFT_API
71
89 #define U_TITLECASE_NO_LOWERCASE 0x100
90
113 #define U_TITLECASE_NO_BREAK_ADJUSTMENT 0x200
114
115 #ifndef U_HIDE_DRAFT_API
116
135 #define U_TITLECASE_ADJUST_TO_CASED 0x400
136
146 #define U_EDITS_NO_RESET 0x2000
147
158 #define U_OMIT_UNCHANGED_TEXT 0x4000
159
160 #endif // U_HIDE_DRAFT_API
161
167 #define U_COMPARE_CODE_POINT_ORDER 0x8000
168
174 #define U_COMPARE_IGNORE_CASE 0x10000
175
181 #define UNORM_INPUT_IS_FCD 0x20000
182
183 // Related definitions elsewhere.
184 // Options that are not meaningful in the same functions
185 // can share the same bits.
186 //
187 // Public:
188 // unicode/unorm.h #define UNORM_COMPARE_NORM_OPTIONS_SHIFT 20
189 //
190 // Internal: (may change or be removed)
191 // ucase.h #define _STRCASECMP_OPTIONS_MASK 0xffff
192 // ucase.h #define _FOLD_CASE_OPTIONS_MASK 7
193 // ucasemap_imp.h #define U_TITLECASE_ITERATOR_MASK 0xe0
194 // ucasemap_imp.h #define U_TITLECASE_ADJUSTMENT_MASK 0x600
195 // ustr_imp.h #define _STRNCMP_STYLE 0x1000
196 // unormcmp.cpp #define _COMPARE_EQUIV 0x80000
197
198 #endif // __STRINGOPTIONS_H__
utypes.h
Basic definitions for ICU, for both C and C++ APIs.