ICU 73.2  73.2
stringoptions.h
Go to the documentation of this file.
00001 // © 2017 and later: Unicode, Inc. and others.
00002 // License & terms of use: http://www.unicode.org/copyright.html
00003 
00004 // stringoptions.h
00005 // created: 2017jun08 Markus W. Scherer
00006 
00007 #ifndef __STRINGOPTIONS_H__
00008 #define __STRINGOPTIONS_H__
00009 
00010 #include "unicode/utypes.h"
00011 
00022 #define U_FOLD_CASE_DEFAULT 0
00023 
00040 #define U_FOLD_CASE_EXCLUDE_SPECIAL_I 1
00041 
00053 #define U_TITLECASE_WHOLE_STRING 0x20
00054 
00066 #define U_TITLECASE_SENTENCES 0x40
00067 
00085 #define U_TITLECASE_NO_LOWERCASE 0x100
00086 
00109 #define U_TITLECASE_NO_BREAK_ADJUSTMENT 0x200
00110 
00129 #define U_TITLECASE_ADJUST_TO_CASED 0x400
00130 
00140 #define U_EDITS_NO_RESET 0x2000
00141 
00152 #define U_OMIT_UNCHANGED_TEXT 0x4000
00153 
00159 #define U_COMPARE_CODE_POINT_ORDER  0x8000
00160 
00166 #define U_COMPARE_IGNORE_CASE       0x10000
00167 
00173 #define UNORM_INPUT_IS_FCD          0x20000
00174 
00175 // Related definitions elsewhere.
00176 // Options that are not meaningful in the same functions
00177 // can share the same bits.
00178 //
00179 // Public:
00180 // unicode/unorm.h #define UNORM_COMPARE_NORM_OPTIONS_SHIFT 20
00181 //
00182 // Internal: (may change or be removed)
00183 // ucase.h #define _STRCASECMP_OPTIONS_MASK 0xffff
00184 // ucase.h #define _FOLD_CASE_OPTIONS_MASK 7
00185 // ucasemap_imp.h #define U_TITLECASE_ITERATOR_MASK 0xe0
00186 // ucasemap_imp.h #define U_TITLECASE_ADJUSTMENT_MASK 0x600
00187 // ustr_imp.h #define _STRNCMP_STYLE 0x1000
00188 // unormcmp.cpp #define _COMPARE_EQUIV 0x80000
00189 
00190 #endif  // __STRINGOPTIONS_H__