|
Jameo Core Library
|
This datatype presents a 16 bit unicode character. More...
Public Member Functions | |
| Char () | |
| Char (int character) | |
| Char (uint16 character) | |
| Char (char character) | |
| uint16 | unicode () const |
| Char | toLowerCase () const |
| Returns the character as lower case (if possible). | |
| Char | toUpperCase () const |
| Returns the character as upper case (if possible). | |
| bool | isWhitespace () const |
| Returns true, if the character is a white space. | |
| bool | isDigit () const |
| Returns true, if the character is a digit (0-9) | |
| bool | isLetter () const |
| Returns true, if the character is a letter. | |
| bool | isUpperCase () const |
| Returns true, if the character is upper case. | |
| bool | isLowerCase () const |
| Returns true, if the character is lower case. | |
| int32 | digitValue () const |
| Returns the digit value (0-9) or -1 if the character is no digit. | |
Friends | |
| DllExport friend bool | operator== (Char ch1, Char ch2) |
| Implementation of ==. | |
| DllExport friend bool | operator!= (Char ch1, Char ch2) |
| Implementation of !=. | |
| DllExport friend bool | operator< (Char ch1, Char ch2) |
| Implementation of <. | |
| DllExport friend bool | operator<= (Char ch1, Char ch2) |
| Implementation of <=. | |
| DllExport friend bool | operator> (Char ch1, Char ch2) |
| Implementation of > | |
| DllExport friend bool | operator>= (Char ch1, Char ch2) |
| Implementation of >=. | |
This datatype presents a 16 bit unicode character.
| jm::Char::Char | ( | ) |
| jm::Char::Char | ( | int | character | ) |
| jm::Char::Char | ( | uint16 | character | ) |
| jm::Char::Char | ( | char | character | ) |
| int32 jm::Char::digitValue | ( | ) | const |
Returns the digit value (0-9) or -1 if the character is no digit.
| bool jm::Char::isDigit | ( | ) | const |
Returns true, if the character is a digit (0-9)
| bool jm::Char::isLetter | ( | ) | const |
Returns true, if the character is a letter.
| bool jm::Char::isLowerCase | ( | ) | const |
Returns true, if the character is lower case.
| bool jm::Char::isUpperCase | ( | ) | const |
Returns true, if the character is upper case.
| bool jm::Char::isWhitespace | ( | ) | const |
Returns true, if the character is a white space.
| Char jm::Char::toLowerCase | ( | ) | const |
Returns the character as lower case (if possible).
| Char jm::Char::toUpperCase | ( | ) | const |
Returns the character as upper case (if possible).
| uint16 jm::Char::unicode | ( | ) | const |