CParserPropertyValueHBufC Class Reference

class CParserPropertyValueHBufC : public CParserPropertyValue

A heap descriptor property value parser.

Many properties are stored using this class. Examples are vCard e-mails and vCalendar locations.

The UID for a heap descriptor property value is KVersitPropertyHBufCUid.

Inherits from

Public Member Functions
CParserPropertyValueHBufC(HBufC16 *)
~CParserPropertyValueHBufC()
IMPORT_C voidExternalizeL(RWriteStream &, const Versit::TEncodingAndCharset &, TInt)
IMPORT_C TBoolIsAsciiCharacterSetSufficient()
IMPORT_C CParserPropertyValueHBufC *NewL(const TDesC &)
IMPORT_C HBufC *TakeValueOwnership()
IMPORT_C CParserPropertyValueCDesCArray *TreatAsArrayPropertyLC(const CParserProperty &)
IMPORT_C TPtrCValue()
Private Member Functions
CParserPropertyValueHBufC()
voidConstructL(const TDesC &)
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::PlugIn()
CParserPropertyValue::SetPlugIn(MVersitPlugIn *)
CParserPropertyValue::SupportsInterface(const TUid &)const
CParserPropertyValue::Uid()const
Protected Attributes
HBufC *iValue

Constructor & Destructor Documentation

CParserPropertyValueHBufC(HBufC16 *)

IMPORT_CCParserPropertyValueHBufC(HBufC16 *aValue)

Parameters

HBufC16 * aValue

CParserPropertyValueHBufC()

CParserPropertyValueHBufC()[private]

~CParserPropertyValueHBufC()

IMPORT_C~CParserPropertyValueHBufC()

Member Functions Documentation

ConstructL(const TDesC &)

voidConstructL(const TDesC &aValue)[private]

Parameters

const TDesC & aValue

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

IMPORT_C voidExternalizeL(RWriteStream &aStream,
const Versit::TEncodingAndCharset &aEncodingCharset,
TIntaLengthOutput
)[virtual]

Externalises the property value to a write stream.

Implementations of this function are invoked by the parser's ExternalizeL() function.

Parameters

RWriteStream & aStreamStream to which the property value is externalised.
const Versit::TEncodingAndCharset & aEncodingCharsetThe character set and encoding information.
TInt aLengthOutputThe amount of text that has been outputted so far on the line (for the property name), which may need to be taken into account when calculating if and where any line break should occur.

IsAsciiCharacterSetSufficient()

IMPORT_C TBoolIsAsciiCharacterSetSufficient()[virtual]

NewL(const TDesC &)

IMPORT_C CParserPropertyValueHBufC *NewL(const TDesC &aValue)[static]

Parameters

const TDesC & aValue

TakeValueOwnership()

IMPORT_C HBufC *TakeValueOwnership()

TreatAsArrayPropertyLC(const CParserProperty &)

IMPORT_C CParserPropertyValueCDesCArray *TreatAsArrayPropertyLC(const CParserProperty &aOwningProperty)const

Parameters

const CParserProperty & aOwningProperty

Value()

IMPORT_C TPtrCValue()const

Member Data Documentation

HBufC * iValue

HBufC *iValue[protected]