Debian Codegraph @

intl/icu_capi/bindings/cpp/ICU4XCaseMapper.h

raw
1 #ifndef ICU4XCaseMapper_H
2 #define ICU4XCaseMapper_H
3 #include <stdio.h>
4 #include <stdint.h>
5 #include <stddef.h>
6 #include <stdbool.h>
7 #include "diplomat_runtime.h"
8
9 #ifdef __cplusplus
10 namespace capi {
11 #endif
12
13 typedef struct ICU4XCaseMapper ICU4XCaseMapper;
14 #ifdef __cplusplus
15 } // namespace capi
16 #endif
17 #include "ICU4XDataProvider.h"
18 #include "diplomat_result_box_ICU4XCaseMapper_ICU4XError.h"
19 #include "ICU4XLocale.h"
20 #include "diplomat_result_void_ICU4XError.h"
21 #include "ICU4XTitlecaseOptionsV1.h"
22 #include "ICU4XCodePointSetBuilder.h"
23 #ifdef __cplusplus
24 namespace capi {
25 extern "C" {
26 #endif
27
28 diplomat_result_box_ICU4XCaseMapper_ICU4XError ICU4XCaseMapper_create(const ICU4XDataProvider* provider);
29
30 diplomat_result_void_ICU4XError ICU4XCaseMapper_lowercase(const ICU4XCaseMapper* self, const char* s_data, size_t s_len, const ICU4XLocale* locale, DiplomatWriteable* write);
31
32 diplomat_result_void_ICU4XError ICU4XCaseMapper_uppercase(const ICU4XCaseMapper* self, const char* s_data, size_t s_len, const ICU4XLocale* locale, DiplomatWriteable* write);
33
34 diplomat_result_void_ICU4XError ICU4XCaseMapper_titlecase_segment_with_only_case_data_v1(const ICU4XCaseMapper* self, const char* s_data, size_t s_len, const ICU4XLocale* locale, ICU4XTitlecaseOptionsV1 options, DiplomatWriteable* write);
35
36 diplomat_result_void_ICU4XError ICU4XCaseMapper_fold(const ICU4XCaseMapper* self, const char* s_data, size_t s_len, DiplomatWriteable* write);
37
38 diplomat_result_void_ICU4XError ICU4XCaseMapper_fold_turkic(const ICU4XCaseMapper* self, const char* s_data, size_t s_len, DiplomatWriteable* write);
39
40 void ICU4XCaseMapper_add_case_closure_to(const ICU4XCaseMapper* self, char32_t c, ICU4XCodePointSetBuilder* builder);
41
42 char32_t ICU4XCaseMapper_simple_lowercase(const ICU4XCaseMapper* self, char32_t ch);
43
44 char32_t ICU4XCaseMapper_simple_uppercase(const ICU4XCaseMapper* self, char32_t ch);
45
46 char32_t ICU4XCaseMapper_simple_titlecase(const ICU4XCaseMapper* self, char32_t ch);
47
48 char32_t ICU4XCaseMapper_simple_fold(const ICU4XCaseMapper* self, char32_t ch);
49
50 char32_t ICU4XCaseMapper_simple_fold_turkic(const ICU4XCaseMapper* self, char32_t ch);
51 void ICU4XCaseMapper_destroy(ICU4XCaseMapper* self);
52
53 #ifdef __cplusplus
54 } // extern "C"
55 } // namespace capi
56 #endif
57 #endif