Gel2D - The free/open source game creation suite

Public Member Functions
gel::GelUChar Class Reference

Unicode character. More...

#include <gelChar.h>

List of all members.

Public Member Functions

 GelUChar ()
 Default constructor.
 GelUChar (GELushort ch)
 Unicode character constructor.
 GelUChar (char ch)
 ASCII character constructor.
GELushort toUnicode () const
char toAscii () const
 Converts the character to an 8-bit char.
GelUCharoperator= (const char c)
GelUCharoperator= (const GelUChar &ch)
bool operator== (const GelUChar &ch) const
bool operator!= (const GelUChar &ch) const
bool operator<= (const GelUChar &ch) const
bool operator>= (const GelUChar &ch) const
bool operator< (const GelUChar &ch) const
bool operator> (const GelUChar &ch) const

Detailed Description

Unicode character.

This class will be used in the future when I get Unicode support implemented.


Constructor & Destructor Documentation

gel::GelUChar::GelUChar ( ) [inline]

Default constructor.

Constructs a NULL character.

gel::GelUChar::GelUChar ( GELushort  ch) [inline]

Unicode character constructor.

Parameters:
ch: The Unicode character to assign.
gel::GelUChar::GelUChar ( char  ch) [inline]

ASCII character constructor.

Parameters:
ch: The ASCII character to assign.

Member Function Documentation

GELushort gel::GelUChar::toUnicode ( ) const [inline]
char gel::GelUChar::toAscii ( ) const [inline]

Converts the character to an 8-bit char.

GelUChar& gel::GelUChar::operator= ( const char  c) [inline]
GelUChar& gel::GelUChar::operator= ( const GelUChar ch) [inline]
bool gel::GelUChar::operator== ( const GelUChar ch) const [inline]
bool gel::GelUChar::operator!= ( const GelUChar ch) const [inline]
bool gel::GelUChar::operator<= ( const GelUChar ch) const [inline]
bool gel::GelUChar::operator>= ( const GelUChar ch) const [inline]
bool gel::GelUChar::operator< ( const GelUChar ch) const [inline]
bool gel::GelUChar::operator> ( const GelUChar ch) const [inline]

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