That Terminal
A terminal emulator designed for video making purposes.
UniData Struct Reference
Collaboration diagram for UniData:

Public Member Functions

void Load (std::filesystem::path unipath)
 
char32_t Has (const std::string &s) const
 
bool Has (char32_t c) const
 

Public Attributes

std::map< std::string, char32_t > codes
 Translation of names into codepoints.
 
std::map< char32_t, std::string > names
 Translation of codepoints into names.
 

Detailed Description

Contents of UniData.txt in a parsed format

Member Function Documentation

◆ Has() [1/2]

bool UniData::Has ( char32_t  c) const
inline

Query whether the given codepoint has a name.

Parameters
ccodepoint to search for
Returns
True if the codepoint has a known name.

◆ Has() [2/2]

char32_t UniData::Has ( const std::string &  s) const
inline

Query whether the given name is defined.

Parameters
sname to search for
Returns
codepoint if known, 0 otherwise

◆ Load()

void UniData::Load ( std::filesystem::path  unipath)
inline

Load from

Parameters
unipathfile

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