Alf::IAlfMap Class Reference

class Alf::IAlfMap : public Alf::IAlfVariantType

An interface for Container data type.

hitchcockwidgetmodel.lib
Since
S60 ?S60_version Draft

Inherits from

Constructor & Destructor Documentation

~IAlfMap()

~IAlfMap()[inline, virtual]

Destructor

Since
S60 ?S60_version

Member Functions Documentation

addItem(IAlfVariantType *, const UString &)

voidaddItem(IAlfVariantType *aData,
const UString &aName
)[pure virtual]
Adds a variantData item into the container
Since
S60 ?S60_version

Parameters

IAlfVariantType * aData- varaint Data Item to be added into the container
const UString & aName

addItem(uint, IAlfVariantType *, const UString &)

voidaddItem(uintaIndex,
IAlfVariantType *aData,
const UString &aName
)[pure virtual]
Adds a variantData item into the container
Since
S60 ?S60_version

Parameters

uint aIndexindex where the data is added
IAlfVariantType * aData- variant Data Item to be added into the container
const UString & aName

clear()

voidclear()[pure virtual]

Clear the Container

Since
S60 ?S60_version

clone()

IAlfMap *clone()[pure virtual]

Clones the entire container

Since
S60 ?S60_version

count()

intcount()const [pure virtual]

Gets the Number of items in the container

Since
S60 ?S60_version

item(uint)

IAlfVariantType *item(uintaIndex)[pure virtual]
Gets the Item at a given index in the container
Since
S60 ?S60_version

Parameters

uint aIndex- index at which the element is required

item(const UString &)

IAlfVariantType *item(const UString &aName)[pure virtual]
Gets the item by the given name.
Since
S60 ?S60_version

Parameters

const UString & aNameThe name associated with requested item.

itemIndex(const UString &)

intitemIndex(const UString &aName)[pure virtual]
Gets the index of the item by the given name.
Since
S60 ?S60_version

Parameters

const UString & aNameThe name associated with requested item.

name(uint)

const UString &name(uintaIndex)const [pure virtual]
Gets the Name at a given index in the container
Since
S60 ?S60_version

Parameters

uint aIndex- index at which the name of the element in the map is required

removeItem(uint)

voidremoveItem(uintaIndex)[pure virtual]
Removes an item from given index in the container
Since
S60 ?S60_version

Parameters

uint aIndex- index at which the element is to be removed

removeItem(const UString &)

voidremoveItem(const UString &aName)[pure virtual]
Removes the Item associated with a name
Since
S60 ?S60_version

Parameters

const UString & aName- Name associated with this Variant Data Item that is required to be removed in the map

replaceItem(uint, IAlfVariantType *)

voidreplaceItem(uintaIndex,
IAlfVariantType *aNewData
)[pure virtual]
Replace an item from given index in the container
Since
S60 ?S60_version

Parameters

uint aIndex- index at which the element is to be replaced
IAlfVariantType * aNewData- new Data to be replaced

replaceItem(const UString &, IAlfVariantType *)

voidreplaceItem(const UString &aName,
IAlfVariantType *aNewData
)[pure virtual]
Replaces the Item associated with a name in the container with a new variant data type
Since
S60 ?S60_version

Parameters

const UString & aName- Name associated with this Variant Data Item that is required to be replaced in the map - New Data to be set
IAlfVariantType * aNewData