class TImHeaderEncodingInfo |
Stores encoding data found in message headers.
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) |
Public Member Enumerations | |
---|---|
enum | TEncodingType { EBase64, EQP, ENoEncoding, EUU } |
enum | TFieldList { EFrom, EReplyTo, ETo, ECc, EBcc, ESubject } |
Private Attributes | |
---|---|
TBool | iAddSpace |
TUint16 | iArrayValue |
TUint | iCharsetUid |
TUint8 | iEncodedLength |
TFieldList | iField |
TUint16 | iLength |
TUint16 | iOffset |
TEncodingType | iType |
IMPORT_C | TImHeaderEncodingInfo | ( | const TImHeaderEncodingInfo & | aFrom | ) |
const TImHeaderEncodingInfo & aFrom |
TBool | AddSpace | ( | ) | const [inline] |
Tests if the add space character flag is set. True for added space characters
TEncodingType | EncodingType | ( | ) | const [inline] |
Gets the encoding type (enumeration). Encoding type
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aWriteStream | ) | const |
RWriteStream & aWriteStream |
IMPORT_C void | InternalizeL | ( | RReadStream & | aReadStream | ) |
RReadStream & aReadStream |
void | SetAddSpace | ( | const TBool | atrueFalse | ) | [inline] |
Sets if a space character needs adding between two adjoining encoded-words.
const TBool atrueFalse | True to add a space character |
void | SetArrayValue | ( | const TInt | aValue | ) | [inline] |
Sets the array value.
const TInt aValue | Array value |
void | SetCharsetUid | ( | const TUint | aUid | ) | [inline] |
Sets the character set UID.
const TUint aUid | Character set UID |
void | SetEncodedLength | ( | const TInt | aLength | ) | [inline] |
Sets the encoded length.
const TInt aLength | Encoded length |
void | SetEncodingType | ( | const TDesC8 & | aChar | ) | [inline] |
Sets the encoding type (string).
const TDesC8 & aChar | Encoding type |
void | SetEncodingType | ( | const TEncodingType | aType | ) | [inline] |
Sets the encoding type (enumeration).
const TEncodingType aType | Encoding type |
void | SetField | ( | const TFieldList | aField | ) | [inline] |
Sets the field type.
const TFieldList aField | Field type |
void | SetLength | ( | const TInt | aLength | ) | [inline] |
Sets the field length.
const TInt aLength | Field length |
void | SetOffset | ( | const TInt | aOffset | ) | [inline] |
Sets the field offset.
const TInt aOffset | Field offset |
Encoding types.
EBase64 |
Base64. |
EQP |
QP. |
ENoEncoding |
No encoding |
EUU |
UU. |
Message field types.
EFrom |
"From" field. |
EReplyTo |
"Reply To" field. |
ETo |
"To" field. |
ECc |
"Cc" field. |
EBcc |
"Bcc" field. |
ESubject |
Subject field. |