#include <ICU4XGeneralCategoryNameToMaskMapper.hpp>
A type capable of looking up General Category mask values from a string name.
See the Rust documentation for name_to_enum_mapper
for more information.
See the Rust documentation for PropertyValueNameToEnumMapper
for more information.
◆ ICU4XGeneralCategoryNameToMaskMapper() [1/3]
ICU4XGeneralCategoryNameToMaskMapper::ICU4XGeneralCategoryNameToMaskMapper |
( |
capi::ICU4XGeneralCategoryNameToMaskMapper * | i | ) |
|
|
inlineexplicit |
◆ ICU4XGeneralCategoryNameToMaskMapper() [2/3]
ICU4XGeneralCategoryNameToMaskMapper::ICU4XGeneralCategoryNameToMaskMapper |
( |
| ) |
|
|
default |
◆ ICU4XGeneralCategoryNameToMaskMapper() [3/3]
◆ get_loose()
uint32_t ICU4XGeneralCategoryNameToMaskMapper::get_loose |
( |
const 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
◆ get_strict()
uint32_t ICU4XGeneralCategoryNameToMaskMapper::get_strict |
( |
const 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
◆ load()
◆ operator=()
The documentation for this class was generated from the following file: