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 *)

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

Parameters

IAlfVariantType * aData variant data to be added into the container

addItem(uint, IAlfVariantType *)

void addItem ( uint aIndex,
IAlfVariantType * aData
) [pure virtual]
Adds a variantData item into the container
Since
S60 ?S60_version

Parameters

uint aIndex index where the data is added
IAlfVariantType * aData variant data to be added into the container

clear()

void clear ( ) [pure virtual]

Clear the Container

Since
S60 ?S60_version

clone()

IAlfContainer * clone ( ) [pure virtual]

Clones the entire container

Since
S60 ?S60_version

count()

int count ( ) [pure virtual]

Gets the Number of items in the container

Since
S60 ?S60_version

item(uint)

IAlfVariantType * item ( uint aIndex ) [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)

void removeItem ( uint aIndex ) [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 *)

void replaceItem ( uint aIndex,
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 &)

void sort ( const IAlfSortFunction & aSortFunction ) [pure virtual]

sorts the container using user defined sort function.

Since
S60 ?S60_version

Parameters

const IAlfSortFunction & aSortFunction - sort function.