ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
icu4x::PropertyValueNameToEnumMapper Class Reference

#include <PropertyValueNameToEnumMapper.d.hpp>

Public Member Functions

int16_t get_strict (std::string_view name) const
 
int16_t get_loose (std::string_view name) const
 

Static Public Member Functions

static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_general_category ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_general_category_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_hangul_syllable_type ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_hangul_syllable_type_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_east_asian_width ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_east_asian_width_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_bidi_class ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_bidi_class_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_indic_syllabic_category ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_indic_syllabic_category_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_line_break ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_line_break_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_grapheme_cluster_break ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_grapheme_cluster_break_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_word_break ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_word_break_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_sentence_break ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_sentence_break_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_script ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_script_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_vertical_orientation ()
 
static diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_vertical_orientation_with_provider (const icu4x::DataProvider &provider)
 
static void operator delete (void *ptr)
 

Detailed Description

A type capable of looking up a property value from a string name.

See the Rust documentation for PropertyParser for more information.

See the Rust documentation for PropertyParserBorrowed for more information.

See the Rust documentation for new for more information.

Member Function Documentation

◆ create_bidi_class()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_bidi_class ( )
inlinestatic

Create a name-to-enum mapper for the Bidi_Class property, using compiled data.

See the Rust documentation for BidiClass for more information.

◆ create_bidi_class_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_bidi_class_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the Bidi_Class property, using a particular data source.

See the Rust documentation for BidiClass for more information.

◆ create_east_asian_width()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_east_asian_width ( )
inlinestatic

Create a name-to-enum mapper for the East_Asian_Width property, using compiled data.

See the Rust documentation for EastAsianWidth for more information.

◆ create_east_asian_width_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_east_asian_width_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the East_Asian_Width property, using a particular data source.

See the Rust documentation for EastAsianWidth for more information.

◆ create_general_category()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_general_category ( )
inlinestatic

Create a name-to-enum mapper for the General_Category property, using compiled data.

See the Rust documentation for GeneralCategory for more information.

◆ create_general_category_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_general_category_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the General_Category property, using a particular data source.

See the Rust documentation for GeneralCategory for more information.

◆ create_grapheme_cluster_break()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_grapheme_cluster_break ( )
inlinestatic

Create a name-to-enum mapper for the Grapheme_Cluster_Break property, using compiled data.

See the Rust documentation for GraphemeClusterBreak for more information.

◆ create_grapheme_cluster_break_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_grapheme_cluster_break_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the Grapheme_Cluster_Break property, using a particular data source.

See the Rust documentation for GraphemeClusterBreak for more information.

◆ create_hangul_syllable_type()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_hangul_syllable_type ( )
inlinestatic

Create a name-to-enum mapper for the Hangul_Syllable_Type property, using compiled data.

See the Rust documentation for HangulSyllableType for more information.

◆ create_hangul_syllable_type_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_hangul_syllable_type_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the Hangul_Syllable_Type property, using a particular data source.

See the Rust documentation for HangulSyllableType for more information.

◆ create_indic_syllabic_category()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_indic_syllabic_category ( )
inlinestatic

Create a name-to-enum mapper for the Indic_Syllabic_Category property, using compiled data.

See the Rust documentation for IndicSyllabicCategory for more information.

◆ create_indic_syllabic_category_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_indic_syllabic_category_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the Indic_Syllabic_Category property, using a particular data source.

See the Rust documentation for IndicSyllabicCategory for more information.

◆ create_line_break()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_line_break ( )
inlinestatic

Create a name-to-enum mapper for the Line_Break property, using compiled data.

See the Rust documentation for LineBreak for more information.

◆ create_line_break_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_line_break_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the Line_Break property, using a particular data source.

See the Rust documentation for LineBreak for more information.

◆ create_script()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_script ( )
inlinestatic

Create a name-to-enum mapper for the Script property, using compiled data.

See the Rust documentation for Script for more information.

◆ create_script_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_script_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the Script property, using a particular data source.

See the Rust documentation for Script for more information.

◆ create_sentence_break()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_sentence_break ( )
inlinestatic

Create a name-to-enum mapper for the Sentence_Break property, using compiled data.

See the Rust documentation for SentenceBreak for more information.

◆ create_sentence_break_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_sentence_break_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the Sentence_Break property, using a particular data source.

See the Rust documentation for SentenceBreak for more information.

◆ create_vertical_orientation()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_vertical_orientation ( )
inlinestatic

Create a name-to-enum mapper for the Vertical_Orientation property, using compiled data.

See the Rust documentation for VerticalOrientation for more information.

◆ create_vertical_orientation_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_vertical_orientation_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the Vertical_Orientation property, using a particular data source.

See the Rust documentation for VerticalOrientation for more information.

◆ create_word_break()

std::unique_ptr< icu4x::PropertyValueNameToEnumMapper > icu4x::PropertyValueNameToEnumMapper::create_word_break ( )
inlinestatic

Create a name-to-enum mapper for the Word_Break property, using compiled data.

See the Rust documentation for WordBreak for more information.

◆ create_word_break_with_provider()

diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataError > icu4x::PropertyValueNameToEnumMapper::create_word_break_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a name-to-enum mapper for the Word_Break property, using a particular data source.

See the Rust documentation for WordBreak for more information.

◆ get_loose()

int16_t icu4x::PropertyValueNameToEnumMapper::get_loose ( std::string_view name) const
inline

Get the property value matching the given name, using loose matching

Returns -1 if the name is unknown for this property

See the Rust documentation for get_loose for more information.

◆ get_strict()

int16_t icu4x::PropertyValueNameToEnumMapper::get_strict ( std::string_view name) const
inline

Get the property value matching the given name, using strict matching

Returns -1 if the name is unknown for this property

See the Rust documentation for get_strict for more information.

◆ operator delete()

void icu4x::PropertyValueNameToEnumMapper::operator delete ( void * ptr)
inlinestatic

The documentation for this class was generated from the following files: