OPAL
Version 3.18.8
|
#include <t140.h>
Inherits PBYTEArray.
Public Types | |
enum | { ZERO_WIDTH_NO_BREAK = 0xfeff, UTF_NEWLINE = 0x2028 } |
Public Member Functions | |
T140String () | |
T140String (const BYTE *data, PINDEX len) | |
T140String (const PBYTEArray &bytes) | |
T140String (const char *chars) | |
T140String (const PString &str) | |
PINDEX | GetLength () const |
PINDEX | GetUTFLen (WORD c) |
PINDEX | GetUTF (const BYTE *ptr, PINDEX len, WORD &ch) |
PINDEX | GetUTF (PINDEX pos, WORD &ch) |
PINDEX | AppendUnicode16 (WORD c) |
PINDEX | AppendUTF (const BYTE *utf, PINDEX utfLen) |
bool | AsString (PString &str) |
Protected Member Functions | |
PINDEX | SetUTF (BYTE *ptr, WORD c) |
Protected Attributes | |
PINDEX | length |
Implement a T.140 encoded string.
T140String::T140String | ( | ) |
T140String::T140String | ( | const BYTE * | data, |
PINDEX | len | ||
) |
T140String::T140String | ( | const PBYTEArray & | bytes | ) |
T140String::T140String | ( | const char * | chars | ) |
T140String::T140String | ( | const PString & | str | ) |
PINDEX T140String::AppendUnicode16 | ( | WORD | c | ) |
PINDEX T140String::AppendUTF | ( | const BYTE * | utf, |
PINDEX | utfLen | ||
) |
bool T140String::AsString | ( | PString & | str | ) |
|
inline |
References length.
PINDEX T140String::GetUTF | ( | const BYTE * | ptr, |
PINDEX | len, | ||
WORD & | ch | ||
) |
PINDEX T140String::GetUTF | ( | PINDEX | pos, |
WORD & | ch | ||
) |
PINDEX T140String::GetUTFLen | ( | WORD | c | ) |
|
protected |
|
protected |
Referenced by GetLength().