HikoGUI
A low latency retained GUI
|
#include <hikogui/i18n/iso_15924_intf.hpp>
Public Member Functions | |
constexpr | iso_15924 (iso_15924 const &) noexcept=default |
constexpr | iso_15924 (iso_15924 &&) noexcept=default |
constexpr iso_15924 & | operator= (iso_15924 const &) noexcept=default |
constexpr iso_15924 & | operator= (iso_15924 &&) noexcept=default |
constexpr | iso_15924 (std::integral auto number) |
constexpr | iso_15924 (std::string_view code4) |
constexpr | iso_15924 (std::in_place_t, uint16_t v) noexcept |
constexpr uint16_t const & | intrinsic () const noexcept |
constexpr uint16_t & | intrinsic () noexcept |
constexpr bool | empty () const noexcept |
constexpr | operator bool () const noexcept |
constexpr uint16_t | number () const noexcept |
Get the iso-15924 numeric value. | |
constexpr std::string | code4 () const noexcept |
Get the iso-15924 4-letter code. | |
constexpr std::string | code4_open_type () const noexcept |
Get the 4-letter code used by open-type. | |
constexpr bool | left_to_right () const noexcept |
Is this script written left-to-right. | |
Static Public Member Functions | |
static constexpr iso_15924 | wildcard () noexcept |
When any script is allowed. | |
static constexpr iso_15924 | common () noexcept |
Common script is used for characters that are common in different scripts. | |
static constexpr iso_15924 | uncoded () noexcept |
Used when the script was not encoded with the text. | |
static constexpr iso_15924 | inherited () noexcept |
Friends | |
constexpr friend std::string | to_string (iso_15924 const &rhs) noexcept |
constexpr friend bool | operator== (iso_15924 const &lhs, iso_15924 const &rhs) noexcept=default |
constexpr friend auto | operator<=> (iso_15924 const &lhs, iso_15924 const &rhs) noexcept=default |
constexpr friend bool | matches (iso_15924 const &lhs, iso_15924 const &rhs) noexcept |
Check if rhs matches with lhs. | |
ISO-15924 script code.
A 4 letter title case script code:
|
constexprnoexcept |
Get the iso-15924 4-letter code.
|
constexprnoexcept |
Get the 4-letter code used by open-type.
|
inlinestaticconstexprnoexcept |
Common script is used for characters that are common in different scripts.
Punctuation for example are of a common script.
|
constexprnoexcept |
Is this script written left-to-right.
|
inlineconstexprnoexcept |
Get the iso-15924 numeric value.
|
inlinestaticconstexprnoexcept |
Used when the script was not encoded with the text.
|
inlinestaticconstexprnoexcept |
When any script is allowed.
Check if rhs matches with lhs.
lhs | The script or wild-card. |
rhs | The script. |