1#ifndef icu4x_PropertyValueNameToEnumMapper_D_HPP
2#define icu4x_PropertyValueNameToEnumMapper_D_HPP
15namespace capi {
struct DataProvider; }
17namespace capi {
struct PropertyValueNameToEnumMapper; }
25 struct PropertyValueNameToEnumMapper;
39class PropertyValueNameToEnumMapper {
49 inline int16_t
get_strict(std::string_view name)
const;
58 inline int16_t
get_loose(std::string_view name)
const;
107 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>
create_bidi_class();
135 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>
create_line_break();
163 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>
create_word_break();
191 inline static std::unique_ptr<icu4x::PropertyValueNameToEnumMapper>
create_script();
214 inline const icu4x::capi::PropertyValueNameToEnumMapper* AsFFI()
const;
215 inline icu4x::capi::PropertyValueNameToEnumMapper* AsFFI();
218 inline static void operator delete(
void* ptr);
220 PropertyValueNameToEnumMapper() =
delete;
225 static void operator delete[](
void*, size_t) =
delete;
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