Loading...
Searching...
No Matches
stringoptions.h
Go to the documentation of this file.
// © 2017 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
// stringoptions.h
// created: 2017jun08 Markus W. Scherer
#ifndef __STRINGOPTIONS_H__
#define __STRINGOPTIONS_H__
#include "unicode/utypes.h"
#define U_FOLD_CASE_DEFAULT 0
#define U_FOLD_CASE_EXCLUDE_SPECIAL_I 1
#define U_TITLECASE_WHOLE_STRING 0x20
#define U_TITLECASE_SENTENCES 0x40
#define U_TITLECASE_NO_LOWERCASE 0x100
#define U_TITLECASE_NO_BREAK_ADJUSTMENT 0x200
#define U_TITLECASE_ADJUST_TO_CASED 0x400
#define U_EDITS_NO_RESET 0x2000
#define U_OMIT_UNCHANGED_TEXT 0x4000
#define U_COMPARE_CODE_POINT_ORDER 0x8000
#define U_COMPARE_IGNORE_CASE 0x10000
#define UNORM_INPUT_IS_FCD 0x20000
// Related definitions elsewhere.
// Options that are not meaningful in the same functions
// can share the same bits.
//
// Public:
// unicode/unorm.h #define UNORM_COMPARE_NORM_OPTIONS_SHIFT 20
//
// Internal: (may change or be removed)
// ucase.h #define _STRCASECMP_OPTIONS_MASK 0xffff
// ucase.h #define _FOLD_CASE_OPTIONS_MASK 7
// ucasemap_imp.h #define U_TITLECASE_ITERATOR_MASK 0xe0
// ucasemap_imp.h #define U_TITLECASE_ADJUSTMENT_MASK 0x600
// ustr_imp.h #define _STRNCMP_STYLE 0x1000
// unormcmp.cpp #define _COMPARE_EQUIV 0x80000
#endif // __STRINGOPTIONS_H__
utypes.h
Basic definitions for ICU, for both C and C++ APIs.