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 TBool aFastClone = EFalse
)

Makes a copy from original property.

Since
S60 5.0

Parameters

ChspsDomStringPool & aStringPool Original string pool clone.
const TBool aFastClone = EFalse If ETrue, then fast mode cloning is used.

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aName ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

const TDesC8 & aName

ConstructL(const TInt)

void ConstructL ( const TInt aName ) [private]

By default Symbian 2nd phase constructor is private.

Parameters

const TInt aName

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const

Documented in ChspsDomListItem::Size.

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream )

Internalize property.

Since
S60 5.0

Parameters

RReadStream & aStream Input stream.

Name()

IMPORT_C const TDesC8 & Name ( )

Documented in ChspsDomListItem::Size

Since
S60 5.0

NameStringPoolIndex()

IMPORT_C TInt16 NameStringPoolIndex ( ) 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 & aName Name of attribute.
ChspsDomStringPool & aStringPool Attached string pool.

NewL(const TInt, ChspsDomStringPool &)

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

Two-phased constructor 8 bit.

Since
S60 5.0

Parameters

const TInt aName Name of attribute (String pool index).
ChspsDomStringPool & aStringPool Attached string pool.

NewL(RReadStream &, ChspsDomStringPool &)

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

Two-phased stream constructor.

Since
S60 5.0

Parameters

RReadStream & aStream Source stream.
ChspsDomStringPool & aStringPool Attached string pool.

SetValueL(const TDesC8 &)

IMPORT_C void SetValueL ( const TDesC8 & aValue )

Set attribute value.

Since
S60 5.0

Parameters

const TDesC8 & aValue Attribute string value.

SetValueL(const TInt)

IMPORT_C void SetValueL ( const TInt aValue )

Set attribute value.

Since
S60 5.0

Parameters

const TInt aValue Attribute 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 TInt16 ValueStringPoolIndex ( ) 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]