Unicode character database¶
Note
The items in this section are in the namespace ogonek::ucd.
-
version
get_age(code_point u)¶ Returns: the Age property of u
-
std::string
get_name(code_point u)¶ Returns: the Name property of u
-
block
get_block(code_point u)¶ Returns: the Block property of u
-
block
get_general_category(code_point u)¶ Returns: the General_Category property of u
-
combining_class
get_canonical_combining_class(code_point u)¶ Returns: the Canonical_Combining_Class property of u
-
bidi_class
get_bidi_class(code_point u)¶ Returns: the Bidi_Class property of u
-
bool
is_bidi_mirrored(code_point u)¶ Returns: true if uhas the Bidi_Mirrored property; false otherwise
-
code_point
get_bidi_mirroring_glyph(code_point u)¶ Returns: the Bidi_Mirroring_Glyph property of u
-
bool
is_bidi_control(code_point u)¶ Returns: true if uhas the Bidi_Control property; false otherwise
-
code_point
get_bidi_paired_bracket(code_point u)¶ Returns: the Bidi_Paired_Bracket property of u
-
bracket_type
get_bidi_paired_bracket_type(code_point u)¶ Returns: the Bidi_Paired_Bracket_Type property of u
-
decomposition_type
get_decomposition_type(code_point u)¶ Returns: the Decomposition_Type property of u
-
std::u32string
get_decomposition_mapping(code_point u)¶ Returns: the Decomposition_Mapping property of u
-
bool
is_excluded_from_composition(code_point u)¶ Returns: true if uhas the Full_Composition_Exclusion property; false otherwise
-
tribool
get_nfc_quick_check(code_point u)¶ Returns: the NFC_Quick_Check property of u
-
bool
get_nfd_quick_check(code_point u)¶ Returns: the NFD_Quick_Check property of u
-
tribool
get_nfkc_quick_check(code_point u)¶ Returns: the NFKC_Quick_Check property of u
-
bool
get_nfkd_quick_check(code_point u)¶ Returns: the NFKD_Quick_Check property of u
-
numeric_type
get_numeric_type(code_point u)¶ Returns: the Numeric_Type property of u
-
optional<fraction>
get_numeric_value(code_point u)¶ Returns: the Numeric_Value property of u, if present; none otherwise
-
joining_type
get_joining_type(code_point u)¶ Returns: the Joining_Type property of u
-
joining_group
get_joining_group(code_point u)¶ Returns: the Joining_Group property of u
-
bool
is_join_control(code_point u)¶ Returns: true if uhas the Join_Control property; false otherwise
-
line_break
get_line_break(code_point u)¶ Returns: the Line_Break property of u
-
east_asian_width
get_east_asian_width(code_point u)¶ Returns: the East_Asian_Width property of u
-
bool
is_uppercase(code_point u)¶ Returns: true if uhas the Uppercase property; false otherwise
-
bool
is_lowercase(code_point u)¶ Returns: true if uhas the Lowercase property; false otherwise
-
code_point
get_simple_uppercase_mapping(code_point u)¶ Returns: the Simple_Uppercase_Mapping property of u
-
code_point
get_simple_lowercase_mapping(code_point u)¶ Returns: the Simple_Lowercase_Mapping property of u
-
code_point
get_simple_titlecase_mapping(code_point u)¶ Returns: the Simple_Titlecase_Mapping property of u
-
std::u32string
get_uppercase_mapping(code_point u)¶ Returns: the Uppercase_Mapping property of u
-
std::u32string
get_lowercase_mapping(code_point u)¶ Returns: the Lowercase_Mapping property of u
-
std::u32string
get_titlecase_mapping(code_point u)¶ Returns: the Titlecase_Mapping property of u
-
code_point
get_simple_case_folding(code_point u)¶ Returns: the Simple_Case_Folding property of u
-
std::u32string
get_case_folding(code_point u)¶ Returns: the Case_Folding property of u
-
bool
is_case_ignorable(code_point u)¶ Returns: true if uhas the Case_Ignorable property; false otherwise
-
bool
is_cased(code_point u)¶ Returns: true if uhas the Cased property; false otherwise
-
bool
changes_when_lowercased(code_point u)¶ Returns: true if uhas the Changes_When_Lowercased property; false otherwise
-
bool
changes_when_uppercased(code_point u)¶ Returns: true if uhas the Changes_When_Uppercased property; false otherwise
-
bool
changes_when_titlecased(code_point u)¶ Returns: true if uhas the Changes_When_Titlecased property; false otherwise
-
bool
changes_when_casefolded(code_point u)¶ Returns: true if uhas the Changes_When_Casefolded property; false otherwise
-
bool
changes_when_casemapped(code_point u)¶ Returns: true if uhas the Changes_When_Casemapped property; false otherwise
-
bool
changes_when_nfkc_casefolded(code_point u)¶ Returns: true if uhas the Changes_When_NFKC_Casefolded property; false otherwise
-
std::u32string
get_nfkc_casefold(code_point u)¶ Returns: the NFKC_Casefold property of u
-
script
get_script(code_point u)¶ Returns: the Script property of u
-
hangul_syllable_type
get_hangul_syllable_type(code_point u)¶ Returns: the Hangul_Syllable_Type property of u
-
std::string
get_jamo_short_name(code_point u)¶ Returns: the Jamo_Short_Name property of u
-
indic_positional_category
get_indic_positional_category(code_point u)¶ Returns: the Indic_Positional_Category property of u
-
indic_syllabic_category
get_indic_syllabic_category(code_point u)¶ Returns: the Indic_Syllabic_Category property of u
-
bool
is_id_start(code_point u)¶ Returns: true if uhas the ID_Start property; false otherwise
-
bool
is_id_continue(code_point u)¶ Returns: true if uhas the ID_Continue property; false otherwise
-
bool
is_xid_start(code_point u)¶ Returns: true if uhas the XID_Start property; false otherwise
-
bool
is_xid_continue(code_point u)¶ Returns: true if uhas the XID_Continue property; false otherwise
-
bool
is_pattern_syntax(code_point u)¶ Returns: true if uhas the Pattern_Syntax property; false otherwise
-
bool
is_pattern_white_space(code_point u)¶ Returns: true if uhas the Pattern_White_Space property; false otherwise
-
bool
is_dash(code_point u)¶ Returns: true if uhas the Dash property; false otherwise
-
bool
is_quotation_mark(code_point u)¶ Returns: true if uhas the Quotation_Mark property; false otherwise
-
bool
is_terminal_punctuation(code_point u)¶ Returns: true if uhas the Terminal_Punctuation property; false otherwise
-
bool
is_sterm(code_point u)¶ Returns: true if uhas the STerm property; false otherwise
-
bool
is_diacritic(code_point u)¶ Returns: true if uhas the Diacritic property; false otherwise
-
bool
is_extender(code_point u)¶ Returns: true if uhas the Extender property; false otherwise
-
bool
is_soft_dotted(code_point u)¶ Returns: true if uhas the Soft_Dotted property; false otherwise
-
bool
is_hex_digit(code_point u)¶ Returns: true if uhas the Hex_Digit property; false otherwise
-
bool
is_ascii_hex_digit(code_point u)¶ Returns: true if uhas the ASCII_Hex_Digit property; false otherwise
-
bool
is_logical_order_exception(code_point u)¶ Returns: true if uhas the Logical_Order_Exception property; false otherwise
-
bool
is_white_space(code_point u)¶ Returns: true if uhas the White_Space property; false otherwise
-
bool
is_variation_selector(code_point u)¶ Returns: true if uhas the Variation_Selector property; false otherwise
-
bool
is_alphabetic(code_point u)¶ Returns: true if uhas the Alphabetic property; false otherwise
-
bool
is_math(code_point u)¶ Returns: true if uhas the Math property; false otherwise
-
bool
is_default_ignorable_code_point(code_point u)¶ Returns: true if uhas the Default_Ignorable_Code_Point property; false otherwise
-
bool
is_grapheme_base(code_point u)¶ Returns: true if uhas the Grapheme_Base property; false otherwise
-
bool
is_grapheme_extend(code_point u)¶ Returns: true if uhas the Grapheme_Extend property; false otherwise
-
grapheme_cluster_break
get_grapheme_cluster_break(code_point u)¶ Returns: the Grapheme_Cluster_Break property of u
-
word_break
get_word_break(code_point u)¶ Returns: the Word_Break property of u
-
sentence_break
get_sentence_break(code_point u)¶ Returns: the Sentence_Break property of u
-
bool
is_ideographic(code_point u)¶ Returns: true if uhas the Ideographic property; false otherwise
-
bool
is_unified_ideograph(code_point u)¶ Returns: true if uhas the Unified_Ideograph property; false otherwise
-
bool
is_ids_binary_operator(code_point u)¶ Returns: true if uhas the IDS_Binary_Operator property; false otherwise
-
bool
is_ids_trinary_operator(code_point u)¶ Returns: true if uhas the IDS_Trinary_Operator property; false otherwise
-
bool
is_radical(code_point u)¶ Returns: true if uhas the Radical property; false otherwise
-
bool
is_deprecated(code_point u)¶ Returns: true if uhas the Deprecated property; false otherwise
-
bool
is_noncharacter_code_point(code_point u)¶ Returns: true if uhas the Noncharacter_Code_Point property; false otherwise