HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Friends
v1::iso_15924 Class Reference

#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_15924operator= (iso_15924 const &) noexcept=default
 
constexpr iso_15924operator= (iso_15924 &&) noexcept=default
 
constexpr iso_15924 (uint16_t number)
 
 iso_15924 (unicode_script const &script) noexcept
 
 iso_15924 (std::string_view code4)
 
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.
 
unicode_bidi_class writing_direction () const noexcept
 

Friends

constexpr friend bool operator== (iso_15924 const &lhs, iso_15924 const &rhs) noexcept=default
 

Detailed Description

ISO-15924 script code.

A 4 letter title case script code:

Member Function Documentation

◆ code4()

std::string_view v1::iso_15924::code4 ( ) const
noexcept

Get the iso-15924 4-letter code.

◆ code4_open_type()

std::string_view v1::iso_15924::code4_open_type ( ) const
noexcept

Get the 4-letter code used by open-type.

◆ number()

constexpr uint16_t v1::iso_15924::number ( ) const
inlineconstexprnoexcept

Get the iso-15924 numeric value.


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