Inheritance diagram for DString:
Simple unicode wrapper over any other source.
Public Member Functions | |
DString & | operator= (const DString &cstring) |
String clone operator. | |
DString (const byte *stream, int size, int def_encoding=-1) | |
Creates string from byte stream with encoding autodetecting. | |
DString (const char *string, int s=0, int l=-1, int encoding=-1) | |
String from single-byte character buffer. | |
DString (const wchar *string, int s=0, int l=-1) | |
String from unicode two-byte character buffer. | |
DString (const w4char *string, int s=0, int l=-1) | |
String from UCS4 four-byte character buffer. | |
DString (const String *cstring, int s=0, int l=-1) | |
String from any String implementing interface. | |
DString (const String &cstring, int s=0, int l=-1) | |
String from any String implementing interface. | |
DString () | |
Empty String. | |
wchar | operator[] (int i) const |
int | length () const |
String * | substring (int s, int l=-1) const |
Creates Dynamic string as substring of called object. | |
Protected Types | |
enum | EStreamType { ST_CHAR = 0, ST_UTF16, ST_UTF16_BE, ST_CSTRING, ST_UTF8, ST_UTF32, ST_UTF32_BE } |
Protected Attributes | |
EStreamType | type |
int | encodingIdx |
int | start |
int | len |
const char * | str |
const wchar * | wstr |
const w4char * | w4str |
const String * | cstr |
wchar * | stream_wstr |
|
Creates string from byte stream with encoding autodetecting.
|
|
String from single-byte character buffer.
|
|
String from unicode two-byte character buffer.
|
|
String from UCS4 four-byte character buffer.
|
|
String from any
|
|
String from any
|
|
Creates Dynamic string as substring of called object.
|