DeSR Dependency Parser |
#include <Char.h>
Public Types | |
typedef Char | CharType |
type of chars to return | |
typedef UCS2 | CodeUnit |
code units out of which the Char is made | |
Public Member Functions | |
Char (UCS2 ucs) | |
operator UCS2 () const | |
int | CompareTo (Char const &other) const |
Compares this Char to another Char, returning an integer that indicates the relationship. | |
int | CompareCase (Char const &other) const |
Unicode::Category | GetCategory () const |
bool | IsControl () const |
bool | IsDigit () const |
bool | IsLetter () const |
bool | IsLetterOrDigit () const |
bool | IsLower () const |
bool | IsMark () const |
bool | IsPunctuation () const |
Checks if the character is a punctuation character. | |
bool | IsSpace () const |
Checks if the character is a space character. | |
bool | IsSymbol () const |
bool | IsTitle () const |
bool | IsUpper () const |
bool | IsWhitespace () const |
Checks if the Unicode character is a whitespace character. | |
int | ToDigit (int radix) |
Char | ToLower () const |
Char | ToUpper () const |
Unicode::BlockCode | BlockCode () |
Return the Unicode allocation block that contains the character. | |
Static Public Attributes | |
static const int | MaxRadix = 36 |
static const int | MinRadix = 2 |
static const UCS2 | MaxValue = 0xFFFF |
static const UCS2 | MinValue = 0x0000 |
Protected Attributes | |
UCS2 | ucs |
Definition at line 40 of file Char.h.
int Tanl::Text::Char::CompareTo | ( | Char const & | other | ) | const [inline] |
bool Tanl::Text::Char::IsPunctuation | ( | ) | const [inline] |
Checks if the character is a punctuation character.
Definition at line 111 of file Char.h.
References Tanl::Text::Unicode::UnicodeTable.
bool Tanl::Text::Char::IsSpace | ( | ) | const [inline] |
Checks if the character is a space character.
Definition at line 116 of file Char.h.
References Tanl::Text::Unicode::UnicodeTable.
bool Tanl::Text::Char::IsWhitespace | ( | ) | const [inline] |
Checks if the Unicode character is a whitespace character.
Definition at line 134 of file Char.h.
References Tanl::Text::Unicode::UnicodeTable.