|
HikoGUI
A low latency retained GUI
|
#include <hikogui/i18n/iso_15924.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) |
| iso_15924 (std::string_view code4) | |
| constexpr | iso_15924 (intrinsic_t, uint16_t v) noexcept |
| constexpr uint16_t const & | intrinsic () const noexcept |
| constexpr uint16_t & | intrinsic () noexcept |
| constexpr bool | empty () const noexcept |
| operator bool () const noexcept | |
| constexpr uint16_t | number () const noexcept |
| Get the iso-15924 numeric value. | |
| std::string_view | code4 () const noexcept |
| Get the iso-15924 4-letter code. | |
| std::string_view | code4_open_type () const noexcept |
| Get the 4-letter code used by open-type. | |
| bool | left_to_right () const noexcept |
| Is this script written left-to-right. | |
Friends | |
| 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:
|
noexcept |
Get the iso-15924 4-letter code.
|
noexcept |
Get the 4-letter code used by open-type.
|
noexcept |
Is this script written left-to-right.
|
inlineconstexprnoexcept |
Get the iso-15924 numeric value.
Check if rhs matches with lhs.
| lhs | The script or wild-card. |
| rhs | The script. |