filters
Libppt::UCharReference Class Reference
#include <ustring.h>
Detailed Description
Dynamic reference to a string character.UCharReference is the dynamic counterpart of UChar. It's used when characters retrieved via index from a UString are used in an assignment expression (and therefore can't be treated as being const):
UString s("hello world"); s[0] = 'H';
If that sounds confusing your best bet is to simply forget about the existance of this class and treat is as being identical to UChar.
Definition at line 116 of file kpresenter/powerpoint/libppt/ustring.h.
Public Member Functions | |
UCharReference & | operator= (UChar c) |
UCharReference & | operator= (char c) |
unsigned short | unicode () const |
unsigned char | low () const |
unsigned char | high () const |
UChar | toLower () const |
UChar | toUpper () const |
Friends | |
class | UString |
Member Function Documentation
UCharReference & UCharReference::operator= | ( | UChar | c | ) |
Set the referenced character to c.
Definition at line 240 of file kpresenter/powerpoint/libppt/ustring.cpp.
UCharReference& Libppt::UCharReference::operator= | ( | char | c | ) | [inline] |
Same operator as above except the argument that it takes.
Definition at line 127 of file kpresenter/powerpoint/libppt/ustring.h.
unsigned short Libppt::UCharReference::unicode | ( | ) | const [inline] |
unsigned char Libppt::UCharReference::low | ( | ) | const [inline] |
unsigned char Libppt::UCharReference::high | ( | ) | const [inline] |
UChar Libppt::UCharReference::toLower | ( | ) | const [inline] |
- Returns:
- Character converted to lower case.
Definition at line 143 of file kpresenter/powerpoint/libppt/ustring.h.
UChar Libppt::UCharReference::toUpper | ( | ) | const [inline] |
- Returns:
- Character converted to upper case.
Definition at line 147 of file kpresenter/powerpoint/libppt/ustring.h.
The documentation for this class was generated from the following files: