ChspsDomAttribute Class Reference

class ChspsDomAttribute : public CBase

Represent attribute name and value as strings.

hspsdomdocument.lib
Since
S60 5.0

Inherits from

Constructor & Destructor Documentation

ChspsDomAttribute(ChspsDomStringPool &)

ChspsDomAttribute(ChspsDomStringPool &aStringPool)[private]

C++ default constructor.

Parameters

ChspsDomStringPool & aStringPool

~ChspsDomAttribute()

IMPORT_C~ChspsDomAttribute()[virtual]

Destructor.

Member Functions Documentation

CloneL()

IMPORT_C ChspsDomAttribute *CloneL()

Makes a copy from original attribute.

Since
S60 5.0

CloneL(ChspsDomStringPool &, const TBool)

ChspsDomAttribute *CloneL(ChspsDomStringPool &aStringPool,
const TBoolaFastClone = EFalse
)

Makes a copy from original property.

Since
S60 5.0

Parameters

ChspsDomStringPool & aStringPoolOriginal string pool clone.
const TBool aFastClone = EFalseIf ETrue, then fast mode cloning is used.

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aName)[private]

By default Symbian 2nd phase constructor is private.

Parameters

const TDesC8 & aName

ConstructL(const TInt)

voidConstructL(const TIntaName)[private]

By default Symbian 2nd phase constructor is private.

Parameters

const TInt aName

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Documented in ChspsDomListItem::Size.

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)

Internalize property.

Since
S60 5.0

Parameters

RReadStream & aStreamInput stream.

Name()

IMPORT_C const TDesC8 &Name()

Documented in ChspsDomListItem::Size

Since
S60 5.0

NameStringPoolIndex()

IMPORT_C TInt16NameStringPoolIndex()const

Get the attributes name string pool index.

Since
S60 5.0

NewL(const TDesC8 &, ChspsDomStringPool &)

IMPORT_C ChspsDomAttribute *NewL(const TDesC8 &aName,
ChspsDomStringPool &aStringPool
)[static]

Two-phased constructor 8 bit.

Since
S60 5.0

Parameters

const TDesC8 & aNameName of attribute.
ChspsDomStringPool & aStringPoolAttached string pool.

NewL(const TInt, ChspsDomStringPool &)

IMPORT_C ChspsDomAttribute *NewL(const TIntaName,
ChspsDomStringPool &aStringPool
)[static]

Two-phased constructor 8 bit.

Since
S60 5.0

Parameters

const TInt aNameName of attribute (String pool index).
ChspsDomStringPool & aStringPoolAttached string pool.

NewL(RReadStream &, ChspsDomStringPool &)

ChspsDomAttribute *NewL(RReadStream &aStream,
ChspsDomStringPool &aStringPool
)[static]

Two-phased stream constructor.

Since
S60 5.0

Parameters

RReadStream & aStreamSource stream.
ChspsDomStringPool & aStringPoolAttached string pool.

SetValueL(const TDesC8 &)

IMPORT_C voidSetValueL(const TDesC8 &aValue)

Set attribute value.

Since
S60 5.0

Parameters

const TDesC8 & aValueAttribute string value.

SetValueL(const TInt)

IMPORT_C voidSetValueL(const TIntaValue)

Set attribute value.

Since
S60 5.0

Parameters

const TInt aValueAttribute ref value.

Size()

TInt Size()const

Documented in ChspsDomListItem::Size.

Value()

IMPORT_C const TDesC8 &Value()

Get the attribute value.

Since
S60 5.0

ValueStringPoolIndex()

IMPORT_C TInt16ValueStringPoolIndex()const

Get the attributes value string pool index.

Since
S60 5.0

Member Data Documentation

TInt16 iNameRef

TInt16 iNameRef[private]

ChspsDomStringPool & iStringPool

ChspsDomStringPool &iStringPool[private]

TInt16 iValueRef

TInt16 iValueRef[private]