#include <ustring.h>
Public Member Functions | |
| UChar () | |
| UChar (unsigned char h, unsigned char l) | |
| UChar (unsigned short u) | |
| UChar (const UCharReference &c) | |
| unsigned char | high () const |
| unsigned char | low () const |
| unsigned short | unicode () const |
| UChar | toLower () const |
| UChar | toUpper () const |
Static Public Attributes | |
| static UChar | null |
Friends | |
| class | UCharReference |
| class | UString |
| bool | operator== (const UChar &c1, const UChar &c2) |
| bool | operator== (const UString &s1, const char *s2) |
| bool | operator< (const UString &s1, const UString &s2) |
Detailed Description
Unicode character.
UChar represents a 16 bit Unicode character. It's internal data representation is compatible to XChar2b and TQChar. It's therefore possible to exchange data with X and TQt with shallow copies.
Definition at line 45 of file kpresenter/powerpoint/libppt/ustring.h.
Constructor & Destructor Documentation
◆ UChar() [1/4]
|
inline |
Construct a character with value 0.
Definition at line 97 of file kpresenter/powerpoint/libppt/ustring.h.
◆ UChar() [2/4]
|
inline |
Construct a character with the value denoted by the arguments.
- Parameters
-
h higher byte l lower byte
Definition at line 98 of file kpresenter/powerpoint/libppt/ustring.h.
◆ UChar() [3/4]
|
inline |
Construct a character with the given value.
- Parameters
-
u 16 bit Unicode value
Definition at line 99 of file kpresenter/powerpoint/libppt/ustring.h.
◆ UChar() [4/4]
| UChar::UChar | ( | const UCharReference & | c | ) |
Definition at line 217 of file kpresenter/powerpoint/libppt/ustring.cpp.
Member Function Documentation
◆ high()
|
inline |
- Returns
- The higher byte of the character.
Definition at line 65 of file kpresenter/powerpoint/libppt/ustring.h.
◆ low()
|
inline |
- Returns
- The lower byte of the character.
Definition at line 69 of file kpresenter/powerpoint/libppt/ustring.h.
◆ toLower()
| UChar UChar::toLower | ( | ) | const |
- Returns
- The character converted to lower case.
Definition at line 222 of file kpresenter/powerpoint/libppt/ustring.cpp.
◆ toUpper()
| UChar UChar::toUpper | ( | ) | const |
- Returns
- The character converted to upper case.
Definition at line 231 of file kpresenter/powerpoint/libppt/ustring.cpp.
◆ unicode()
|
inline |
- Returns
- the 16 bit Unicode value of the character
Definition at line 73 of file kpresenter/powerpoint/libppt/ustring.h.
Friends And Related Symbol Documentation
◆ operator==
Definition at line 359 of file kpresenter/powerpoint/libppt/ustring.h.
◆ UCharReference
|
friend |
Definition at line 88 of file kpresenter/powerpoint/libppt/ustring.h.
◆ UString
|
friend |
Definition at line 89 of file kpresenter/powerpoint/libppt/ustring.h.
Member Data Documentation
◆ null
|
static |
A static instance of UChar(0).
Definition at line 86 of file kpresenter/powerpoint/libppt/ustring.h.
The documentation for this struct was generated from the following files:
