#include <mw/miuthdr.h>
| class TImHeaderEncodingInfo |
| Public Member Enumerations | |
|---|---|
| enum | TEncodingType { EBase64, EQP, ENoEncoding, EUU } |
| enum | TFieldList { EFrom, EReplyTo, ETo, ECc, ..., ESubject } |
| Public Member Functions | |
|---|---|
| TImHeaderEncodingInfo() | |
| TImHeaderEncodingInfo(const TImHeaderEncodingInfo &) | |
| TBool | AddSpace() |
| TInt | ArrayValue() |
| TUint | CharsetUid() |
| TInt | EncodedLength() |
| TEncodingType | EncodingType() |
| IMPORT_C void | ExternalizeL(RWriteStream &) |
| TFieldList | Field() |
| IMPORT_C void | InternalizeL(RReadStream &) |
| TInt | Length() |
| TInt | Offset() |
| void | SetAddSpace(const TBool) |
| void | SetArrayValue(const TInt) |
| void | SetCharsetUid(const TUint) |
| void | SetEncodedLength(const TInt) |
| void | SetEncodingType(const TDesC8 &) |
| void | SetEncodingType(const TEncodingType) |
| void | SetField(const TFieldList) |
| void | SetLength(const TInt) |
| void | SetOffset(const TInt) |
Stores encoding data found in message headers.
Encoding types.
| Enumerator | Value | Description |
|---|---|---|
| EBase64 |
Base64. | |
| EQP |
QP. | |
| ENoEncoding |
No encoding | |
| EUU |
UU. |
| IMPORT_C | TImHeaderEncodingInfo | ( | ) |
| IMPORT_C | TImHeaderEncodingInfo | ( | const TImHeaderEncodingInfo & | aFrom | ) |
| TBool | AddSpace | ( | ) | const [inline] |
Tests if the add space character flag is set.
| TEncodingType | EncodingType | ( | ) | const [inline] |
Gets the encoding type (enumeration).
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) | const |
| IMPORT_C void | InternalizeL | ( | RReadStream & | aReadStream | ) |
| void | SetAddSpace | ( | const TBool | atrueFalse | ) | [inline] |
Sets if a space character needs adding between two adjoining encoded-words.
| Parameters | |
|---|---|
| atrueFalse | True to add a space character |
| void | SetCharsetUid | ( | const TUint | aUid | ) | [inline] |
Sets the character set UID.
| Parameters | |
|---|---|
| aUid | Character set UID |
| void | SetEncodedLength | ( | const TInt | aLength | ) | [inline] |
Sets the encoded length.
| Parameters | |
|---|---|
| aLength | Encoded length |
| void | SetEncodingType | ( | const TDesC8 & | aChar | ) | [inline] |
Sets the encoding type (string).
| Parameters | |
|---|---|
| aChar | Encoding type |
| void | SetEncodingType | ( | const TEncodingType | aType | ) | [inline] |
Sets the encoding type (enumeration).
| Parameters | |
|---|---|
| aType | Encoding type |