ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
PropertyValueNameToEnumMapper.hpp
Go to the documentation of this file.
1#ifndef ICU4X_PropertyValueNameToEnumMapper_HPP
2#define ICU4X_PropertyValueNameToEnumMapper_HPP
3
5
6#include <stdio.h>
7#include <stdint.h>
8#include <stddef.h>
9#include <stdbool.h>
10#include <memory>
11#include <functional>
12#include <optional>
13#include <cstdlib>
14#include "DataError.hpp"
15#include "DataProvider.hpp"
16#include "diplomat_runtime.hpp"
17
18
19namespace icu4x {
20namespace capi {
21 extern "C" {
22
23 int16_t icu4x_PropertyValueNameToEnumMapper_get_strict_mv1(const icu4x::capi::PropertyValueNameToEnumMapper* self, icu4x::diplomat::capi::DiplomatStringView name);
24
25 int16_t icu4x_PropertyValueNameToEnumMapper_get_loose_mv1(const icu4x::capi::PropertyValueNameToEnumMapper* self, icu4x::diplomat::capi::DiplomatStringView name);
26
27 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_bidi_class_mv1(void);
28
29 typedef struct icu4x_PropertyValueNameToEnumMapper_create_bidi_class_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_bidi_class_with_provider_mv1_result;
30 icu4x_PropertyValueNameToEnumMapper_create_bidi_class_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_bidi_class_with_provider_mv1(const icu4x::capi::DataProvider* provider);
31
32 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_numeric_type_mv1(void);
33
34 typedef struct icu4x_PropertyValueNameToEnumMapper_create_numeric_type_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_numeric_type_with_provider_mv1_result;
35 icu4x_PropertyValueNameToEnumMapper_create_numeric_type_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_numeric_type_with_provider_mv1(const icu4x::capi::DataProvider* provider);
36
37 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_script_mv1(void);
38
39 typedef struct icu4x_PropertyValueNameToEnumMapper_create_script_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_script_with_provider_mv1_result;
40 icu4x_PropertyValueNameToEnumMapper_create_script_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_script_with_provider_mv1(const icu4x::capi::DataProvider* provider);
41
42 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_hangul_syllable_type_mv1(void);
43
44 typedef struct icu4x_PropertyValueNameToEnumMapper_create_hangul_syllable_type_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_hangul_syllable_type_with_provider_mv1_result;
45 icu4x_PropertyValueNameToEnumMapper_create_hangul_syllable_type_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_hangul_syllable_type_with_provider_mv1(const icu4x::capi::DataProvider* provider);
46
47 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_east_asian_width_mv1(void);
48
49 typedef struct icu4x_PropertyValueNameToEnumMapper_create_east_asian_width_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_east_asian_width_with_provider_mv1_result;
50 icu4x_PropertyValueNameToEnumMapper_create_east_asian_width_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_east_asian_width_with_provider_mv1(const icu4x::capi::DataProvider* provider);
51
52 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_line_break_mv1(void);
53
54 typedef struct icu4x_PropertyValueNameToEnumMapper_create_line_break_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_line_break_with_provider_mv1_result;
55 icu4x_PropertyValueNameToEnumMapper_create_line_break_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_line_break_with_provider_mv1(const icu4x::capi::DataProvider* provider);
56
57 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_grapheme_cluster_break_mv1(void);
58
59 typedef struct icu4x_PropertyValueNameToEnumMapper_create_grapheme_cluster_break_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_grapheme_cluster_break_with_provider_mv1_result;
60 icu4x_PropertyValueNameToEnumMapper_create_grapheme_cluster_break_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_grapheme_cluster_break_with_provider_mv1(const icu4x::capi::DataProvider* provider);
61
62 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_word_break_mv1(void);
63
64 typedef struct icu4x_PropertyValueNameToEnumMapper_create_word_break_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_word_break_with_provider_mv1_result;
65 icu4x_PropertyValueNameToEnumMapper_create_word_break_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_word_break_with_provider_mv1(const icu4x::capi::DataProvider* provider);
66
67 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_sentence_break_mv1(void);
68
69 typedef struct icu4x_PropertyValueNameToEnumMapper_create_sentence_break_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_sentence_break_with_provider_mv1_result;
70 icu4x_PropertyValueNameToEnumMapper_create_sentence_break_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_sentence_break_with_provider_mv1(const icu4x::capi::DataProvider* provider);
71
72 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_canonical_combining_class_mv1(void);
73
74 typedef struct icu4x_PropertyValueNameToEnumMapper_create_canonical_combining_class_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_canonical_combining_class_with_provider_mv1_result;
75 icu4x_PropertyValueNameToEnumMapper_create_canonical_combining_class_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_canonical_combining_class_with_provider_mv1(const icu4x::capi::DataProvider* provider);
76
77 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_indic_syllabic_category_mv1(void);
78
79 typedef struct icu4x_PropertyValueNameToEnumMapper_create_indic_syllabic_category_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_indic_syllabic_category_with_provider_mv1_result;
80 icu4x_PropertyValueNameToEnumMapper_create_indic_syllabic_category_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_indic_syllabic_category_with_provider_mv1(const icu4x::capi::DataProvider* provider);
81
82 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_indic_conjunct_break_mv1(void);
83
84 typedef struct icu4x_PropertyValueNameToEnumMapper_create_indic_conjunct_break_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_indic_conjunct_break_with_provider_mv1_result;
85 icu4x_PropertyValueNameToEnumMapper_create_indic_conjunct_break_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_indic_conjunct_break_with_provider_mv1(const icu4x::capi::DataProvider* provider);
86
87 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_joining_group_mv1(void);
88
89 typedef struct icu4x_PropertyValueNameToEnumMapper_create_joining_group_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_joining_group_with_provider_mv1_result;
90 icu4x_PropertyValueNameToEnumMapper_create_joining_group_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_joining_group_with_provider_mv1(const icu4x::capi::DataProvider* provider);
91
92 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_joining_type_mv1(void);
93
94 typedef struct icu4x_PropertyValueNameToEnumMapper_create_joining_type_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_joining_type_with_provider_mv1_result;
95 icu4x_PropertyValueNameToEnumMapper_create_joining_type_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_joining_type_with_provider_mv1(const icu4x::capi::DataProvider* provider);
96
97 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_general_category_mv1(void);
98
99 typedef struct icu4x_PropertyValueNameToEnumMapper_create_general_category_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_general_category_with_provider_mv1_result;
100 icu4x_PropertyValueNameToEnumMapper_create_general_category_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_general_category_with_provider_mv1(const icu4x::capi::DataProvider* provider);
101
102 icu4x::capi::PropertyValueNameToEnumMapper* icu4x_PropertyValueNameToEnumMapper_create_vertical_orientation_mv1(void);
103
104 typedef struct icu4x_PropertyValueNameToEnumMapper_create_vertical_orientation_with_provider_mv1_result {union {icu4x::capi::PropertyValueNameToEnumMapper* ok; icu4x::capi::DataError err;}; bool is_ok;} icu4x_PropertyValueNameToEnumMapper_create_vertical_orientation_with_provider_mv1_result;
105 icu4x_PropertyValueNameToEnumMapper_create_vertical_orientation_with_provider_mv1_result icu4x_PropertyValueNameToEnumMapper_create_vertical_orientation_with_provider_mv1(const icu4x::capi::DataProvider* provider);
106
107 void icu4x_PropertyValueNameToEnumMapper_destroy_mv1(PropertyValueNameToEnumMapper* self);
108
109 } // extern "C"
110} // namespace capi
111} // namespace
112
113inline int16_t icu4x::PropertyValueNameToEnumMapper::get_strict(std::string_view name) const {
114 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_get_strict_mv1(this->AsFFI(),
115 {name.data(), name.size()});
116 return result;
117}
118
119inline int16_t icu4x::PropertyValueNameToEnumMapper::get_loose(std::string_view name) const {
120 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_get_loose_mv1(this->AsFFI(),
121 {name.data(), name.size()});
122 return result;
123}
124
125inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_bidi_class() {
126 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_bidi_class_mv1();
127 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
128}
129
131 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_bidi_class_with_provider_mv1(provider.AsFFI());
133}
134
135inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_numeric_type() {
136 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_numeric_type_mv1();
137 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
138}
139
141 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_numeric_type_with_provider_mv1(provider.AsFFI());
143}
144
145inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_script() {
146 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_script_mv1();
147 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
148}
149
151 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_script_with_provider_mv1(provider.AsFFI());
153}
154
155inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_hangul_syllable_type() {
156 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_hangul_syllable_type_mv1();
157 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
158}
159
161 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_hangul_syllable_type_with_provider_mv1(provider.AsFFI());
163}
164
165inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_east_asian_width() {
166 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_east_asian_width_mv1();
167 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
168}
169
171 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_east_asian_width_with_provider_mv1(provider.AsFFI());
173}
174
175inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_line_break() {
176 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_line_break_mv1();
177 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
178}
179
181 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_line_break_with_provider_mv1(provider.AsFFI());
183}
184
185inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_grapheme_cluster_break() {
186 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_grapheme_cluster_break_mv1();
187 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
188}
189
191 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_grapheme_cluster_break_with_provider_mv1(provider.AsFFI());
193}
194
195inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_word_break() {
196 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_word_break_mv1();
197 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
198}
199
201 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_word_break_with_provider_mv1(provider.AsFFI());
203}
204
205inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_sentence_break() {
206 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_sentence_break_mv1();
207 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
208}
209
211 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_sentence_break_with_provider_mv1(provider.AsFFI());
213}
214
215inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_canonical_combining_class() {
216 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_canonical_combining_class_mv1();
217 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
218}
219
221 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_canonical_combining_class_with_provider_mv1(provider.AsFFI());
223}
224
225inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_indic_syllabic_category() {
226 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_indic_syllabic_category_mv1();
227 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
228}
229
231 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_indic_syllabic_category_with_provider_mv1(provider.AsFFI());
233}
234
235inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_indic_conjunct_break() {
236 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_indic_conjunct_break_mv1();
237 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
238}
239
241 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_indic_conjunct_break_with_provider_mv1(provider.AsFFI());
243}
244
245inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_joining_group() {
246 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_joining_group_mv1();
247 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
248}
249
251 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_joining_group_with_provider_mv1(provider.AsFFI());
253}
254
255inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_joining_type() {
256 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_joining_type_mv1();
257 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
258}
259
261 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_joining_type_with_provider_mv1(provider.AsFFI());
263}
264
265inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_general_category() {
266 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_general_category_mv1();
267 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
268}
269
271 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_general_category_with_provider_mv1(provider.AsFFI());
273}
274
275inline std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> icu4x::PropertyValueNameToEnumMapper::create_vertical_orientation() {
276 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_vertical_orientation_mv1();
277 return std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>(icu4x::PropertyValueNameToEnumMapper::FromFFI(result));
278}
279
281 auto result = icu4x::capi::icu4x_PropertyValueNameToEnumMapper_create_vertical_orientation_with_provider_mv1(provider.AsFFI());
283}
284
285inline const icu4x::capi::PropertyValueNameToEnumMapper* icu4x::PropertyValueNameToEnumMapper::AsFFI() const {
286 return reinterpret_cast<const icu4x::capi::PropertyValueNameToEnumMapper*>(this);
287}
288
289inline icu4x::capi::PropertyValueNameToEnumMapper* icu4x::PropertyValueNameToEnumMapper::AsFFI() {
290 return reinterpret_cast<icu4x::capi::PropertyValueNameToEnumMapper*>(this);
291}
292
293inline const icu4x::PropertyValueNameToEnumMapper* icu4x::PropertyValueNameToEnumMapper::FromFFI(const icu4x::capi::PropertyValueNameToEnumMapper* ptr) {
294 return reinterpret_cast<const icu4x::PropertyValueNameToEnumMapper*>(ptr);
295}
296
297inline icu4x::PropertyValueNameToEnumMapper* icu4x::PropertyValueNameToEnumMapper::FromFFI(icu4x::capi::PropertyValueNameToEnumMapper* ptr) {
298 return reinterpret_cast<icu4x::PropertyValueNameToEnumMapper*>(ptr);
299}
300
301inline void icu4x::PropertyValueNameToEnumMapper::operator delete(void* ptr) {
302 icu4x::capi::icu4x_PropertyValueNameToEnumMapper_destroy_mv1(reinterpret_cast<icu4x::capi::PropertyValueNameToEnumMapper*>(ptr));
303}
304
305
306#endif // ICU4X_PropertyValueNameToEnumMapper_HPP
Definition DataError.d.hpp:37
Definition DataProvider.d.hpp:40
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_vertical_orientation_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:280
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_hangul_syllable_type_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:160
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_script()
Definition PropertyValueNameToEnumMapper.hpp:145
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_joining_group()
Definition PropertyValueNameToEnumMapper.hpp:245
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_script_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:150
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_canonical_combining_class_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:220
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_joining_type_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:260
int16_t get_strict(std::string_view name) const
Definition PropertyValueNameToEnumMapper.hpp:113
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_joining_group_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:250
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_indic_conjunct_break()
Definition PropertyValueNameToEnumMapper.hpp:235
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_grapheme_cluster_break()
Definition PropertyValueNameToEnumMapper.hpp:185
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_grapheme_cluster_break_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:190
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_word_break()
Definition PropertyValueNameToEnumMapper.hpp:195
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_east_asian_width()
Definition PropertyValueNameToEnumMapper.hpp:165
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_word_break_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:200
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_line_break_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:180
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_sentence_break()
Definition PropertyValueNameToEnumMapper.hpp:205
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_hangul_syllable_type()
Definition PropertyValueNameToEnumMapper.hpp:155
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_vertical_orientation()
Definition PropertyValueNameToEnumMapper.hpp:275
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_general_category()
Definition PropertyValueNameToEnumMapper.hpp:265
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_bidi_class_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:130
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_indic_syllabic_category_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:230
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_joining_type()
Definition PropertyValueNameToEnumMapper.hpp:255
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_sentence_break_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:210
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_numeric_type_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:140
int16_t get_loose(std::string_view name) const
Definition PropertyValueNameToEnumMapper.hpp:119
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_general_category_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:270
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_line_break()
Definition PropertyValueNameToEnumMapper.hpp:175
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_bidi_class()
Definition PropertyValueNameToEnumMapper.hpp:125
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_indic_syllabic_category()
Definition PropertyValueNameToEnumMapper.hpp:225
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_east_asian_width_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:170
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_indic_conjunct_break_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:240
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_canonical_combining_class()
Definition PropertyValueNameToEnumMapper.hpp:215
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_numeric_type()
Definition PropertyValueNameToEnumMapper.hpp:135
Definition diplomat_runtime.hpp:166
Definition Bidi.d.hpp:13
Definition diplomat_runtime.hpp:146
Definition diplomat_runtime.hpp:128