stmm-games-doc  0.32.0
Public Types | Public Member Functions | List of all members
stmg::TileChar Class Reference
Inheritance diagram for stmg::TileChar:
Inheritance graph
[legend]

Public Types

enum  { CHAR_UCS4_MIN = 1, CHAR_UCS4_MAX = (1 << 30) + ((1 << 30) - 1) }
 The accepted unicode values. More...
 
enum  { CHAR_INDEX_MIN = 0, CHAR_INDEX_MAX = (1 << 30) + ((1 << 30) - 1) }
 The char index limits. More...
 

Public Member Functions

 TileChar () noexcept
 
bool isEmpty () const noexcept
 
bool operator== (const TileChar &oTileChar) const noexcept
 
void clear () noexcept
 
bool isCharIndex () const noexcept
 
uint32_t getChar () const noexcept
 
void setChar (uint32_t nChar) noexcept
 
uint32_t getCharIndex () const noexcept
 
void setCharIndex (uint32_t nCharIndex) noexcept
 
void dump () const noexcept
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

The accepted unicode values.

Enumerator
CHAR_UCS4_MIN 
CHAR_UCS4_MAX 

◆ anonymous enum

anonymous enum

The char index limits.

Enumerator
CHAR_INDEX_MIN 
CHAR_INDEX_MAX 

Constructor & Destructor Documentation

◆ TileChar()

stmg::TileChar::TileChar ( )
inlinenoexcept

Member Function Documentation

◆ clear()

void stmg::TileChar::clear ( )
inlinenoexcept

◆ dump()

void stmg::TileChar::dump ( ) const
inlinenoexcept

◆ getChar()

uint32_t stmg::TileChar::getChar ( ) const
inlinenoexcept

◆ getCharIndex()

uint32_t stmg::TileChar::getCharIndex ( ) const
inlinenoexcept

◆ isCharIndex()

bool stmg::TileChar::isCharIndex ( ) const
inlinenoexcept

◆ isEmpty()

bool stmg::TileChar::isEmpty ( ) const
inlinenoexcept

◆ operator==()

bool stmg::TileChar::operator== ( const TileChar oTileChar) const
inlinenoexcept

◆ setChar()

void stmg::TileChar::setChar ( uint32_t  nChar)
inlinenoexcept

◆ setCharIndex()

void stmg::TileChar::setCharIndex ( uint32_t  nCharIndex)
inlinenoexcept