CParserPropertyValueBinary Class Reference

#include <app/vprop.h>

Link against: versit.lib

class CParserPropertyValueBinary : public CParserPropertyValue

Inherits from

Protected Attributes
CBufSeg *iValue
Public Member Functions
CParserPropertyValueBinary(CBufSeg &)
~CParserPropertyValueBinary()
virtual IMPORT_C voidExternalizeL(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()
voidConstructL(const TDesC8 &)
voidExternalizeL(RWriteStream &, const Versit::TEncodingAndCharset &, TInt, RReadStream &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CParserPropertyValue::Append(TDes16 &,TDesC8 &)
CParserPropertyValue::CParserPropertyValue(const TUid &)
CParserPropertyValue::EncodeL(CBufBase *,const TDesC8 &,const TUid &)const
CParserPropertyValue::FoldAndWriteValueToStreamL(RWriteStream &,const TDesC &,const Versit::TEncodingAndCharset &,TInt &)const
CParserPropertyValue::FoldEncodeAndWriteValueToStreamL(RWriteStream &,const CDesCArray *,const Versit::TEncodingAndCharset &,TInt &)const
CParserPropertyValue::FoldEncodeAndWriteValueToStreamL(RWriteStream &,const TDesC &,const Versit::TEncodingAndCharset &,TInt &)const
CParserPropertyValue::IsAsciiCharacterSetSufficient()
CParserPropertyValue::PlugIn()
CParserPropertyValue::SetPlugIn(MVersitPlugIn *)
CParserPropertyValue::SupportsInterface(const TUid &)const
CParserPropertyValue::Uid()const

Detailed Description

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.

Member Attribute Documentation

iValue

CBufSeg *iValue[protected]

Constructor & Destructor Documentation

CParserPropertyValueBinary ( CBufSeg & )

CParserPropertyValueBinary(CBufSeg &aValue)[inline]

Constructs a binary property value.

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

ParameterDescription
aValueThe property value.

CParserPropertyValueBinary ( )

CParserPropertyValueBinary()[protected, inline]

Constructs a binary property value.

Sets the property value UID to KVersitPropertyBinaryUid.

~CParserPropertyValueBinary ( )

IMPORT_C~CParserPropertyValueBinary()

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

Member Function Documentation

ConstructL ( const TDesC8 & )

voidConstructL(const TDesC8 &aValue)[protected]

ExternalizeL ( RWriteStream &, const Versit::TEncodingAndCharset &, TInt )

IMPORT_C voidExternalizeL(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).

ParameterDescription
aStreamStream into which the value is to be externalised.
aEncodingCharsetSpecifies 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).

ExternalizeL ( RWriteStream &, const Versit::TEncodingAndCharset &, TInt, RReadStream & )

voidExternalizeL(RWriteStream &aStream,
const Versit::TEncodingAndCharset &aEncodingCharset,
TIntaLengthOutput,
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).

ParameterDescription
aStreamStream into which the value is to be externalised.
aEncodingCharsetSpecifies the character set and encoding information. The encoding selected for a binary property value is Versit::EBase64Encoding.
aLengthOutputThe amount of text that has been output so far on the line (for the property name).

NewL ( const TDesC8 & )

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.

ParameterDescription
aValueThe property value.

Returns: Pointer to the newly created binary property value.

NewLC ( const TDesC8 & )

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.

ParameterDescription
aValueThe property value.

Returns: Pointer to the newly created binary property value.

Value ( )

IMPORT_C const CBufSeg *Value()const

Returns the binary property value.

Returns: Pointer to the property value.