CParserParam Class Reference

class CParserParam : public CBase

A Versit property parameter.

A property parameter consists of a name and optionally a value, both in descriptor form. Parser properties (class CParserProperty) may own one or more property parameters.

Note:

The private parameter name and value members are stored as narrow (8-bit) rather than 16-bit Unicode descriptors.

However, certain member functions take or return a Unicode value, for the purpose of backwards compatibility. In this case a simple conversion takes place: this ignores the top 8 bits (for Unicode -> Narrow) or adds zero for the top 8-bits (for Narrow->Unicode).

Inherits from

Constructor & Destructor Documentation

CParserParam(HBufC8 *, HBufC8 *)

CParserParam(HBufC8 *aName,
HBufC8 *aValue
)[private]

Parameters

HBufC8 * aName
HBufC8 * aValue

~CParserParam()

IMPORT_C~CParserParam()

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C TIntExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

ExternalizeL(RWriteStream &, TInt &, CVersitParser *)

IMPORT_C TIntExternalizeL(RWriteStream &aStream,
TInt &aLengthOutput,
CVersitParser *aVersitParser
)const

Parameters

RWriteStream & aStream
TInt & aLengthOutput
CVersitParser * aVersitParser

Name()

IMPORT_C TPtrC8Name()const

NewL(const TDesC8 &, const TDesC8 &)

IMPORT_C CParserParam *NewL(const TDesC8 &aName,
const TDesC8 &aValue
)[static]

Parameters

const TDesC8 & aName
const TDesC8 & aValue

NewL(const TDesC8 &, const TDesC &)

IMPORT_C CParserParam *NewL(const TDesC8 &aName,
const TDesC &aValue
)[static]

Parameters

const TDesC8 & aName
const TDesC & aValue

SetValueL(const TDesC8 &)

IMPORT_C voidSetValueL(const TDesC8 &aValue)

Parameters

const TDesC8 & aValue

SetValueL(HBufC8 *)

IMPORT_C voidSetValueL(HBufC8 *aValue)

Parameters

HBufC8 * aValue

Value()

IMPORT_C TPtrC8Value()const

ValueL()

IMPORT_C HBufC *ValueL()const

Member Data Documentation

HBufC8 * iParamName

HBufC8 *iParamName[private]

HBufC8 * iValue

HBufC8 *iValue[private]