#include <app/vprop.h>
class CParserPropertyValueBinary : public CParserPropertyValue |
Protected Attributes | |
---|---|
CBufSeg * | iValue |
Public Member Functions | |
---|---|
CParserPropertyValueBinary(CBufSeg &) | |
~CParserPropertyValueBinary() | |
virtual 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 &) |
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.
CParserPropertyValueBinary | ( | CBufSeg & | aValue | ) | [inline] |
Constructs a binary property value.
Sets the property value to aValue and the property value UID to KVersitPropertyBinaryUid.
Parameter | Description |
---|---|
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.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream, |
const Versit::TEncodingAndCharset & | aEncodingCharset, | |||
TInt | ||||
) | [virtual] |
Reimplemented from CParserPropertyValue::ExternalizeL(RWriteStream &,const Versit::TEncodingAndCharset &,TInt)
Externalises the binary property value into aStream.
Uses the encoding format specified in aEncodingCharset. (Any character set specified in aEncodingCharset is not used).
Parameter | Description |
---|---|
aStream | Stream into which the value is to be externalised. |
aEncodingCharset | Specifies the character set and encoding information. The encoding selected for a binary property value is Versit::EBase64Encoding. |
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).
Parameter | Description |
---|---|
aStream | Stream into which the value is to be externalised. |
aEncodingCharset | Specifies the character set and encoding information. The encoding selected for a binary property value is Versit::EBase64Encoding. |
aLengthOutput | The amount of text that has been output so far on the line (for the property name). |
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.
Parameter | Description |
---|---|
aValue | The property value. |
Returns: Pointer to the newly created binary 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.
Parameter | Description |
---|---|
aValue | The property value. |
Returns: Pointer to the newly created binary property value.
IMPORT_C const CBufSeg * | Value | ( | ) | const |
Returns the binary property value.
Returns: Pointer to the property value.