| class CParserPropertyValueBinary : public CParserPropertyValue |
A binary property value parser.
It is used to store logos, photos, alarm content and binary attachment as binary values.
The UID for a binary property value is KVersitPropertyBinaryUid.
| Public Member Functions | |
|---|---|
| CParserPropertyValueBinary ( CBufSeg &) | |
| ~CParserPropertyValueBinary () | |
| IMPORT_C void | ExternalizeL ( RWriteStream &, const Versit::TEncodingAndCharset &, TInt ) |
| IMPORT_C CParserPropertyValueBinary * | NewL (const TDesC8 &) |
| IMPORT_C CParserPropertyValueBinary * | NewLC (const TDesC8 &) |
| IMPORT_C const CBufSeg * | Value () |
| Protected Member Functions | |
|---|---|
| CParserPropertyValueBinary () | |
| void | ConstructL (const TDesC8 &) |
| void | ExternalizeL ( RWriteStream &, const Versit::TEncodingAndCharset &, TInt , RReadStream &) |
| Protected Attributes | |
|---|---|
| CBufSeg * | iValue |
| CParserPropertyValueBinary | ( | CBufSeg & | aValue | ) | [inline] |
Constructs a binary property value.
Sets the property value to aValue and the property value UID to KVersitPropertyBinaryUid.
| CBufSeg & aValue | The property value. |
| CParserPropertyValueBinary | ( | ) | [protected, inline] |
Constructs a binary property value.
Sets the property value UID to KVersitPropertyBinaryUid.
| IMPORT_C | ~CParserPropertyValueBinary | ( | ) |
Frees all resources owned by the property value, prior to its destruction.
| void | ConstructL | ( | const TDesC8 & | aValue | ) | [protected] |
| const TDesC8 & aValue |
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream, |
| const Versit::TEncodingAndCharset & | aEncodingCharset, | |||
| TInt | ||||
| ) | [virtual] | |||
Externalises the binary property value into aStream.
Uses the encoding format specified in aEncodingCharset. (Any character set specified in aEncodingCharset is not used).
| RWriteStream & aStream | Stream into which the value is to be externalised. |
| const Versit::TEncodingAndCharset & aEncodingCharset | Specifies the character set and encoding information. The encoding selected for a binary property value is Versit::EBase64Encoding. |
| TInt | The amount of text that has been output so far on the line (for the property name). |
| void | ExternalizeL | ( | RWriteStream & | aStream, |
| const Versit::TEncodingAndCharset & | aEncodingCharset, | |||
| TInt | aLengthOutput, | |||
| RReadStream & | aReadStream | |||
| ) | [protected] | |||
Externalises the binary property value into aStream.
Uses the encoding format specified in aEncodingCharset. (Any character set specified in aEncodingCharset is not used).
| RWriteStream & aStream | Stream into which the value is to be externalised. |
| const Versit::TEncodingAndCharset & aEncodingCharset | Specifies the character set and encoding information. The encoding selected for a binary property value is Versit::EBase64Encoding. |
| TInt aLengthOutput | The amount of text that has been output so far on the line (for the property name). |
| RReadStream & aReadStream |
| IMPORT_C CParserPropertyValueBinary * | NewL | ( | const TDesC8 & | aValue | ) | [static] |
Allocates and constructs a new binary property value with the value specified.
Sets the property value's UID to KVersitPropertyBinaryUid.
| const TDesC8 & aValue | The property value. |
| IMPORT_C CParserPropertyValueBinary * | NewLC | ( | const TDesC8 & | aValue | ) | [static] |
Allocates and constructs a new binary property value with the value specified.
Leaves the object on the cleanup stack.
Sets the property value's UID to KVersitPropertyBinaryUid.
| const TDesC8 & aValue | The property value. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.