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

#include <CodePointMapData16.d.hpp>

Public Member Functions

uint16_t operator[] (char32_t cp) const
 
std::unique_ptr< icu4x::CodePointRangeIteratoriter_ranges_for_value (uint16_t value) const
 
std::unique_ptr< icu4x::CodePointRangeIteratoriter_ranges_for_value_complemented (uint16_t value) const
 
std::unique_ptr< icu4x::CodePointSetDataget_set_for_value (uint16_t value) const
 

Static Public Member Functions

static std::unique_ptr< icu4x::CodePointMapData16create_script ()
 
static diplomat::result< std::unique_ptr< icu4x::CodePointMapData16 >, icu4x::DataErrorcreate_script_with_provider (const icu4x::DataProvider &provider)
 
static void operator delete (void *ptr)
 

Detailed Description

An ICU4X Unicode Map Property object, capable of querying whether a code point (key) to obtain the Unicode property value, for a specific Unicode property.

For properties whose values fit into 16 bits.

See the Rust documentation for properties for more information.

See the Rust documentation for CodePointMapData for more information.

See the Rust documentation for CodePointMapDataBorrowed for more information.

Member Function Documentation

◆ create_script()

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

Create a map 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::CodePointMapData16 >, icu4x::DataError > icu4x::CodePointMapData16::create_script_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a map for the Script property, using a particular data source.

See the Rust documentation for Script for more information.

◆ get_set_for_value()

std::unique_ptr< icu4x::CodePointSetData > icu4x::CodePointMapData16::get_set_for_value ( uint16_t value) const
inline

Gets a CodePointSetData representing all entries in this map that map to the given value

See the Rust documentation for get_set_for_value for more information.

◆ iter_ranges_for_value()

std::unique_ptr< icu4x::CodePointRangeIterator > icu4x::CodePointMapData16::iter_ranges_for_value ( uint16_t value) const
inline

Produces an iterator over ranges of code points that map to value

See the Rust documentation for iter_ranges_for_value for more information.

◆ iter_ranges_for_value_complemented()

std::unique_ptr< icu4x::CodePointRangeIterator > icu4x::CodePointMapData16::iter_ranges_for_value_complemented ( uint16_t value) const
inline

Produces an iterator over ranges of code points that do not map to value

See the Rust documentation for iter_ranges_for_value_complemented for more information.

◆ operator delete()

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

◆ operator[]()

uint16_t icu4x::CodePointMapData16::operator[] ( char32_t cp) const
inline

Gets the value for a code point.

See the Rust documentation for get for more information.


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