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

#include <GeneralCategoryNameToGroupMapper.d.hpp>

Public Member Functions

icu4x::GeneralCategoryGroup get_strict (std::string_view name) const
 
icu4x::GeneralCategoryGroup get_loose (std::string_view name) const
 

Static Public Member Functions

static std::unique_ptr< icu4x::GeneralCategoryNameToGroupMappercreate ()
 
static diplomat::result< std::unique_ptr< icu4x::GeneralCategoryNameToGroupMapper >, icu4x::DataErrorcreate_with_provider (const icu4x::DataProvider &provider)
 
static void operator delete (void *ptr)
 

Detailed Description

A type capable of looking up General Category Group values from a string name.

See the Rust documentation for PropertyParser for more information.

See the Rust documentation for GeneralCategory for more information.

Member Function Documentation

◆ create()

std::unique_ptr< icu4x::GeneralCategoryNameToGroupMapper > icu4x::GeneralCategoryNameToGroupMapper::create ( )
inlinestatic

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

See the Rust documentation for GeneralCategoryGroup for more information.

◆ create_with_provider()

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

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

See the Rust documentation for GeneralCategoryGroup for more information.

◆ get_loose()

icu4x::GeneralCategoryGroup icu4x::GeneralCategoryNameToGroupMapper::get_loose ( std::string_view name) const
inline

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

Returns 0 if the name is unknown for this property

See the Rust documentation for get_loose for more information.

◆ get_strict()

icu4x::GeneralCategoryGroup icu4x::GeneralCategoryNameToGroupMapper::get_strict ( std::string_view name) const
inline

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

Returns 0 if the name is unknown for this property

See the Rust documentation for get_strict for more information.

◆ operator delete()

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

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