ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
PropertyValueNameToEnumMapper.d.hpp
Go to the documentation of this file.
1#ifndef ICU4X_PropertyValueNameToEnumMapper_D_HPP
2#define ICU4X_PropertyValueNameToEnumMapper_D_HPP
3
4#include <stdio.h>
5#include <stdint.h>
6#include <stddef.h>
7#include <stdbool.h>
8#include <memory>
9#include <functional>
10#include <optional>
11#include <cstdlib>
12#include "diplomat_runtime.hpp"
13namespace icu4x {
14namespace capi { struct DataProvider; }
15class DataProvider;
16namespace capi { struct PropertyValueNameToEnumMapper; }
18class DataError;
19} // namespace icu4x
20
21
22
23namespace icu4x {
24namespace capi {
25 struct PropertyValueNameToEnumMapper;
26} // namespace capi
27} // namespace
28
29namespace icu4x {
39class PropertyValueNameToEnumMapper {
40public:
41
49 inline int16_t get_strict(std::string_view name) const;
50
58 inline int16_t get_loose(std::string_view name) const;
59
65 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_bidi_class();
66
73
79 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_numeric_type();
80
87
93 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_script();
94
101
107 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_hangul_syllable_type();
108
115
121 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_east_asian_width();
122
129
135 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_line_break();
136
143
149 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_grapheme_cluster_break();
150
157
163 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_word_break();
164
171
177 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_sentence_break();
178
185
191 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_canonical_combining_class();
192
199
205 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_indic_syllabic_category();
206
213
219 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_indic_conjunct_break();
220
227
233 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_joining_group();
234
241
247 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_joining_type();
248
255
261 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_general_category();
262
269
275 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_vertical_orientation();
276
283
284 inline const icu4x::capi::PropertyValueNameToEnumMapper* AsFFI() const;
285 inline icu4x::capi::PropertyValueNameToEnumMapper* AsFFI();
286 inline static const icu4x::PropertyValueNameToEnumMapper* FromFFI(const icu4x::capi::PropertyValueNameToEnumMapper* ptr);
287 inline static icu4x::PropertyValueNameToEnumMapper* FromFFI(icu4x::capi::PropertyValueNameToEnumMapper* ptr);
288 inline static void operator delete(void* ptr);
289private:
290 PropertyValueNameToEnumMapper() = delete;
291 PropertyValueNameToEnumMapper(const icu4x::PropertyValueNameToEnumMapper&) = delete;
292 PropertyValueNameToEnumMapper(icu4x::PropertyValueNameToEnumMapper&&) noexcept = delete;
293 PropertyValueNameToEnumMapper operator=(const icu4x::PropertyValueNameToEnumMapper&) = delete;
294 PropertyValueNameToEnumMapper operator=(icu4x::PropertyValueNameToEnumMapper&&) noexcept = delete;
295 static void operator delete[](void*, size_t) = delete;
296};
297
298} // namespace
299#endif // ICU4X_PropertyValueNameToEnumMapper_D_HPP
Definition DataError.d.hpp:37
Definition DataProvider.d.hpp:40
Definition PropertyValueNameToEnumMapper.d.hpp:39
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