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>
13
14namespace icu4x {
15namespace capi { struct DataProvider; }
16class DataProvider;
17namespace capi { struct PropertyValueNameToEnumMapper; }
19class DataError;
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_general_category();
66
73
79 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_hangul_syllable_type();
80
87
93 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_east_asian_width();
94
101
107 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_bidi_class();
108
115
121 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_indic_syllabic_category();
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_script();
192
199
205 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper> create_vertical_orientation();
206
213
214 inline const icu4x::capi::PropertyValueNameToEnumMapper* AsFFI() const;
215 inline icu4x::capi::PropertyValueNameToEnumMapper* AsFFI();
216 inline static const icu4x::PropertyValueNameToEnumMapper* FromFFI(const icu4x::capi::PropertyValueNameToEnumMapper* ptr);
217 inline static icu4x::PropertyValueNameToEnumMapper* FromFFI(icu4x::capi::PropertyValueNameToEnumMapper* ptr);
218 inline static void operator delete(void* ptr);
219private:
220 PropertyValueNameToEnumMapper() = delete;
221 PropertyValueNameToEnumMapper(const icu4x::PropertyValueNameToEnumMapper&) = delete;
222 PropertyValueNameToEnumMapper(icu4x::PropertyValueNameToEnumMapper&&) noexcept = delete;
223 PropertyValueNameToEnumMapper operator=(const icu4x::PropertyValueNameToEnumMapper&) = delete;
224 PropertyValueNameToEnumMapper operator=(icu4x::PropertyValueNameToEnumMapper&&) noexcept = delete;
225 static void operator delete[](void*, size_t) = delete;
226};
227
228} // namespace
229#endif // icu4x_PropertyValueNameToEnumMapper_D_HPP
Definition diplomat_runtime.hpp:140
Definition DataError.d.hpp:37
Definition DataProvider.d.hpp:40
Definition PropertyValueNameToEnumMapper.d.hpp:39
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_bidi_class_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:135
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_script()
Definition PropertyValueNameToEnumMapper.hpp:190
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_east_asian_width_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:125
int16_t get_strict(std::string_view name) const
Definition PropertyValueNameToEnumMapper.hpp:88
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_grapheme_cluster_break()
Definition PropertyValueNameToEnumMapper.hpp:160
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_word_break()
Definition PropertyValueNameToEnumMapper.hpp:170
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_vertical_orientation_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:205
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_east_asian_width()
Definition PropertyValueNameToEnumMapper.hpp:120
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_sentence_break_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:185
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_word_break_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:175
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_sentence_break()
Definition PropertyValueNameToEnumMapper.hpp:180
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_general_category_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:105
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_hangul_syllable_type()
Definition PropertyValueNameToEnumMapper.hpp:110
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_vertical_orientation()
Definition PropertyValueNameToEnumMapper.hpp:200
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_general_category()
Definition PropertyValueNameToEnumMapper.hpp:100
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_hangul_syllable_type_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:115
int16_t get_loose(std::string_view name) const
Definition PropertyValueNameToEnumMapper.hpp:94
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_line_break_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:155
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_grapheme_cluster_break_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:165
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_line_break()
Definition PropertyValueNameToEnumMapper.hpp:150
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_bidi_class()
Definition PropertyValueNameToEnumMapper.hpp:130
static std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > create_indic_syllabic_category()
Definition PropertyValueNameToEnumMapper.hpp:140
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_script_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:195
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > create_indic_syllabic_category_with_provider(const icu4x::DataProvider &provider)
Definition PropertyValueNameToEnumMapper.hpp:145
Definition Bidi.d.hpp:14