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_bidi_class ()
 
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_bidi_class_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_numeric_type ()
 
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_numeric_type_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_script ()
 
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_script_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_hangul_syllable_type ()
 
static icu4x::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 icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_east_asian_width_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_line_break ()
 
static icu4x::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 icu4x::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 icu4x::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 icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_sentence_break_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_canonical_combining_class ()
 
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_canonical_combining_class_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_indic_syllabic_category ()
 
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_indic_syllabic_category_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_indic_conjunct_break ()
 
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_indic_conjunct_break_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_joining_group ()
 
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_joining_group_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_joining_type ()
 
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_joining_type_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_general_category ()
 
static icu4x::diplomat::result< std::unique_ptr< icu4x::PropertyValueNameToEnumMapper >, icu4x::DataErrorcreate_general_category_with_provider (const icu4x::DataProvider &provider)
 
static std::unique_ptr< icu4x::PropertyValueNameToEnumMappercreate_vertical_orientation ()
 
static icu4x::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 BidiClass property, using compiled data.

See the Rust documentation for BidiClass for more information.

◆ create_bidi_class_with_provider()

icu4x::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 BidiClass property, using a particular data source.

See the Rust documentation for BidiClass for more information.

◆ create_canonical_combining_class()

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

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

See the Rust documentation for CanonicalCombiningClass for more information.

◆ create_canonical_combining_class_with_provider()

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

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

See the Rust documentation for CanonicalCombiningClass 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 EastAsianWidth property, using compiled data.

See the Rust documentation for EastAsianWidth for more information.

◆ create_east_asian_width_with_provider()

icu4x::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 EastAsianWidth 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 GeneralCategory property, using compiled data.

See the Rust documentation for GeneralCategory for more information.

◆ create_general_category_with_provider()

icu4x::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 GeneralCategory 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 GraphemeClusterBreak property, using compiled data.

See the Rust documentation for GraphemeClusterBreak for more information.

◆ create_grapheme_cluster_break_with_provider()

icu4x::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 GraphemeClusterBreak 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 HangulSyllableType property, using compiled data.

See the Rust documentation for HangulSyllableType for more information.

◆ create_hangul_syllable_type_with_provider()

icu4x::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 HangulSyllableType property, using a particular data source.

See the Rust documentation for HangulSyllableType for more information.

◆ create_indic_conjunct_break()

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

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

See the Rust documentation for IndicConjunctBreak for more information.

◆ create_indic_conjunct_break_with_provider()

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

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

See the Rust documentation for IndicConjunctBreak 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 IndicSyllabicCategory property, using compiled data.

See the Rust documentation for IndicSyllabicCategory for more information.

◆ create_indic_syllabic_category_with_provider()

icu4x::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 IndicSyllabicCategory property, using a particular data source.

See the Rust documentation for IndicSyllabicCategory for more information.

◆ create_joining_group()

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

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

See the Rust documentation for JoiningGroup for more information.

◆ create_joining_group_with_provider()

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

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

See the Rust documentation for JoiningGroup for more information.

◆ create_joining_type()

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

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

See the Rust documentation for JoiningType for more information.

◆ create_joining_type_with_provider()

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

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

See the Rust documentation for JoiningType 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 LineBreak property, using compiled data.

See the Rust documentation for LineBreak for more information.

◆ create_line_break_with_provider()

icu4x::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 LineBreak property, using a particular data source.

See the Rust documentation for LineBreak for more information.

◆ create_numeric_type()

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

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

See the Rust documentation for NumericType for more information.

◆ create_numeric_type_with_provider()

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

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

See the Rust documentation for NumericType 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()

icu4x::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 SentenceBreak property, using compiled data.

See the Rust documentation for SentenceBreak for more information.

◆ create_sentence_break_with_provider()

icu4x::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 SentenceBreak 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 VerticalOrientation property, using compiled data.

See the Rust documentation for VerticalOrientation for more information.

◆ create_vertical_orientation_with_provider()

icu4x::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 VerticalOrientation 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 WordBreak property, using compiled data.

See the Rust documentation for WordBreak for more information.

◆ create_word_break_with_provider()

icu4x::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 WordBreak 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: