tetengo 1.8.2
A multipurpose library set
Loading...
Searching...
No Matches
tetengo::text::grapheme_splitting::east_asian_character_width Class Reference

An east Asian character width. More...

#include <east_asian_characX.hpp>

+ Inheritance diagram for tetengo::text::grapheme_splitting::east_asian_character_width:
+ Collaboration diagram for tetengo::text::grapheme_splitting::east_asian_character_width:

Public Member Functions

virtual ~east_asian_character_width ()
 Destroys the character width.
 
- Public Member Functions inherited from tetengo::text::grapheme_splitting::character_width
virtual ~character_width ()
 Destroys the character width.
 
std::size_t width_of (class_type class_, emoji_type emoji) const
 Returns the width.
 

Static Public Member Functions

static const east_asian_character_widthinstance ()
 Returns the instance.
 

Additional Inherited Members

- Public Types inherited from tetengo::text::grapheme_splitting::character_width
enum class  class_type {
  ambiguous , fullwidth , halfwidth , narrow ,
  wide , neutral
}
 A class. More...
 
enum class  emoji_type { emoji , normal }
 An emoji. More...
 

Detailed Description

An east Asian character width.

Member Function Documentation

◆ instance()

static const east_asian_character_width & tetengo::text::grapheme_splitting::east_asian_character_width::instance ( )
staticnodiscard

Returns the instance.

Returns
The instance.

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