Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: VPROP.H
Link against: versit.lib

Class CParserPropertyValueBinary

class CParserPropertyValueBinary : public CParserPropertyValue;

Description

A binary property value parser.

This is specific to vCards, for which it is used to store logos and photos as binary values.

The UID for a binary property value is KVersitPropertyBinaryUid.

Derivation

Members

Defined in CParserPropertyValueBinary:
CParserPropertyValueBinary(), CParserPropertyValueBinary(), ExternalizeL(), NewL(), NewLC(), Value(), iValue, ~CParserPropertyValueBinary()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CParserPropertyValue:
Append(), EncodeL(), FoldAndWriteValueToStreamL(), FoldEncodeAndWriteValueToStreamL(), IsAsciiCharacterSetSufficient(), PlugIn(), SetPlugIn(), SupportsInterface(), Uid()


Construction and destruction


NewL()

static IMPORT_C CParserPropertyValueBinary *NewL(const TDesC8 &aValue);

Description

Allocates and constructs a new binary property value with the value specified.

Sets the property value's UID to KVersitPropertyBinaryUid.

Parameters

const TDesC8 &aValue

The property value.

Return value

CParserPropertyValueBinary *

Pointer to the newly created binary property value.


NewLC()

static IMPORT_C CParserPropertyValueBinary *NewLC(const TDesC8 &aValue);

Description

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.

Parameters

const TDesC8 &aValue

The property value.

Return value

CParserPropertyValueBinary *

Pointer to the newly created binary property value.


CParserPropertyValueBinary()

inline CParserPropertyValueBinary(CBufSeg &aValue);

Description

Constructs a binary property value.

Sets the property value to aValue and the property value UID to KVersitPropertyBinaryUid.

Parameters

CBufSeg &aValue

The property value.


~CParserPropertyValueBinary()

IMPORT_C ~CParserPropertyValueBinary();

Description

Frees all resources owned by the property value, prior to its destruction.


CParserPropertyValueBinary()

protected: inline CParserPropertyValueBinary();

Description

Constructs a binary property value.

Sets the property value UID to KVersitPropertyBinaryUid.

[Top]


Member functions


Value()

IMPORT_C const CBufSeg *Value() const;

Description

Returns the binary property value.

Return value

const CBufSeg *

Pointer to the property value.


ExternalizeL()

virtual IMPORT_C void ExternalizeL(RWriteStream &aStream, const Versit::TEncodingAndCharset &aEncodingCharset, TInt);

Description

Externalises the binary property value into aStream.

Uses the encoding format specified in aEncodingCharset. (Any character set specified in aEncodingCharset is not used).

Parameters

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).

[Top]


Member data


iValue

protected: CBufSeg * iValue;

Description