Alf::IAlfContainer Class Reference

class Alf::IAlfContainer : public Alf::IAlfVariantType
An interface for Container data type. hitchcockwidgetmodel.lib
Since
S60 ?S60_version Draft

Inherits from

Constructor & Destructor Documentation

~IAlfContainer()

~IAlfContainer()[inline, virtual]

Destructor

Since
S60 ?S60_version

Member Functions Documentation

addItem(IAlfVariantType *)

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

Parameters

IAlfVariantType * aDatavariant data to be added into the container

addItem(uint, IAlfVariantType *)

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

Parameters

uint aIndexindex where the data is added
IAlfVariantType * aDatavariant data to be added into the container

clear()

voidclear()[pure virtual]

Clear the Container

Since
S60 ?S60_version

clone()

IAlfContainer *clone()[pure virtual]

Clones the entire container

Since
S60 ?S60_version

count()

intcount()[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

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

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

sort(const IAlfSortFunction &)

voidsort(const IAlfSortFunction &aSortFunction)[pure virtual]

sorts the container using user defined sort function.

Since
S60 ?S60_version

Parameters

const IAlfSortFunction & aSortFunction- sort function.