CAknSettingItemArray Class Reference

#include <mw/aknsettingitemlist.h>

class CAknSettingItemArray : public CArrayPtrFlat< CAknSettingItem >

Inherits from

  • CAknSettingItemArray
    Public Member Functions
    CAknSettingItemArray(TInt, TBool, TInt)
    virtual ~CAknSettingItemArray()
    IMPORT_C TIntItemIndexFromVisibleIndex(TInt)
    IMPORT_C TIntMdcaCount()
    IMPORT_C TPtrC16MdcaPoint(TInt)
    virtual IMPORT_C voidRecalculateVisibleIndicesL()
    IMPORT_C voidSetFlags(TInt)
    IMPORT_C voidSetInitialOrdinal(TInt)
    Protected Member Functions
    IMPORT_C voidSetVisibleCount(TInt)
    IMPORT_C TIntVisibleCount()
    Inherited Functions
    CArrayFix< CAknSettingItem * >::AppendL(const CAknSettingItem *&)
    CArrayFix< CAknSettingItem * >::AppendL(const CAknSettingItem *&,TInt)
    CArrayFix< CAknSettingItem * >::AppendL(const CAknSettingItem **,TInt)
    CArrayFix< CAknSettingItem * >::Array()const
    CArrayFix< CAknSettingItem * >::At(TInt)
    CArrayFix< CAknSettingItem * >::At(TInt)const
    CArrayFix< CAknSettingItem * >::Back(TInt)
    CArrayFix< CAknSettingItem * >::Back(TInt)const
    CArrayFix< CAknSettingItem * >::CArrayFix(TBufRep,TInt)
    CArrayFix< CAknSettingItem * >::End(TInt)
    CArrayFix< CAknSettingItem * >::End(TInt)const
    CArrayFix< CAknSettingItem * >::ExpandL(TInt)
    CArrayFix< CAknSettingItem * >::ExtendL()
    CArrayFix< CAknSettingItem * >::Find(const CAknSettingItem *&,TKeyArrayFix &,TInt &)const
    CArrayFix< CAknSettingItem * >::FindIsq(const CAknSettingItem *&,TKeyArrayFix &,TInt &)const
    CArrayFix< CAknSettingItem * >::InsertIsqAllowDuplicatesL(const CAknSettingItem *&,TKeyArrayFix &)
    CArrayFix< CAknSettingItem * >::InsertIsqL(const CAknSettingItem *&,TKeyArrayFix &)
    CArrayFix< CAknSettingItem * >::InsertL(TInt,const CAknSettingItem *&)
    CArrayFix< CAknSettingItem * >::InsertL(TInt,const CAknSettingItem *&,TInt)
    CArrayFix< CAknSettingItem * >::InsertL(TInt,const CAknSettingItem **,TInt)
    CArrayFix< CAknSettingItem * >::ResizeL(TInt)
    CArrayFix< CAknSettingItem * >::ResizeL(TInt,const CAknSettingItem *&)
    CArrayFix< CAknSettingItem * >::operator[](TInt)
    CArrayFix< CAknSettingItem * >::operator[](TInt)const
    CArrayFixBase::AtR(const CBase *,TInt)
    CArrayFixBase::CArrayFixBase(TBufRep,TInt,TInt)
    CArrayFixBase::Compress()
    CArrayFixBase::Count()const
    CArrayFixBase::CountR(const CBase *)
    CArrayFixBase::Delete(TInt)
    CArrayFixBase::Delete(TInt,TInt)
    CArrayFixBase::Find(const TAny *,TKeyArrayFix &,TInt &)const
    CArrayFixBase::FindIsq(const TAny *,TKeyArrayFix &,TInt &)const
    CArrayFixBase::InsertIsqAllowDuplicatesL(const TAny *,TKeyArrayFix &)
    CArrayFixBase::InsertIsqL(const TAny *,TKeyArrayFix &)
    CArrayFixBase::InsertL(TInt,const TAny *)
    CArrayFixBase::InsertL(TInt,const TAny *,TInt)
    CArrayFixBase::InsertRepL(TInt,const TAny *,TInt)
    CArrayFixBase::Length()const
    CArrayFixBase::Reset()
    CArrayFixBase::ResizeL(TInt,const TAny *)
    CArrayFixBase::SetKey(TKeyArrayFix &)const
    CArrayFixBase::SetReserveFlatL(TInt)
    CArrayFixBase::Sort(TKeyArrayFix &)
    CArrayFixBase::~CArrayFixBase()
    CArrayPtr< CAknSettingItem >::CArrayPtr(TBufRep,TInt)
    CArrayPtr< CAknSettingItem >::ResetAndDestroy()
    CArrayPtrFlat< CAknSettingItem >::CArrayPtrFlat(TInt)
    CArrayPtrFlat< CAknSettingItem >::SetReserveL(TInt)
    CBase::CBase()
    CBase::Delete(CBase *)
    CBase::Extension_(TUint,TAny *&,TAny *)
    CBase::operator new(TUint)
    CBase::operator new(TUint,TAny *)
    CBase::operator new(TUint,TLeave)
    CBase::operator new(TUint,TLeave,TUint)
    CBase::operator new(TUint,TUint)
    CBase::~CBase()

    Detailed Description

    This class holds the setting items themselves and also manages the bitmap array

    Constructor & Destructor Documentation

    CAknSettingItemArray ( TInt, TBool, TInt )

    IMPORT_CCAknSettingItemArray(TIntaGranularity,
    TBoolaIsNumbered,
    TIntaInitialOrdinal
    )

    CAknSettingItemArray is constructed as a numbered or unnumbered array.

    ParameterDescription
    aGranularity- number of items to extend when the aarray needs extention
    aIsNumbered- flags the array as numbered or not
    aInitialOrdinal- value to start the numbering at

    ~CAknSettingItemArray ( )

    IMPORT_C~CAknSettingItemArray()[virtual]

    Destructor

    Member Function Documentation

    ItemIndexFromVisibleIndex ( TInt )

    IMPORT_C TIntItemIndexFromVisibleIndex(TIntaVisibleIndex)const

    This method returns the true index in the array given the index as would be calculated by looking at the visible items.

    ParameterDescription
    aVisibleIndex- index among the visible items

    Returns: the corresponding "true" index in the array

    MdcaCount ( )

    IMPORT_C TIntMdcaCount()const

    Method by which the CAknSetStyleListBox accesses the number of items in the array

    Returns: number of items in the array

    MdcaPoint ( TInt )

    IMPORT_C TPtrC16MdcaPoint(TIntaIndex)const

    Method by which the setting item list accesses the text for the aIndex-th item in the array.

    ParameterDescription
    aIndexindex at which to access the listbox text

    Returns: Descriptor for this item to be used by the listbox.

    RecalculateVisibleIndicesL ( )

    IMPORT_C voidRecalculateVisibleIndicesL()[virtual]

    Update date the mapping of visible indices. To be called when an item is made visible or invisible.

    SetFlags ( TInt )

    IMPORT_C voidSetFlags(TIntaFlags)

    SetInitialOrdinal ( TInt )

    IMPORT_C voidSetInitialOrdinal(TIntaInitialOrdinal)

    This is used to update the initial setting number for the top index. The number set is the for the 0-th "true" or data index. That is, this numbered item may not show up

    SetVisibleCount ( TInt )

    IMPORT_C voidSetVisibleCount(TIntaCount)[protected]

    Set the number of visible items.

    ParameterDescription
    aCountnumber of items that are visible.

    VisibleCount ( )

    IMPORT_C TIntVisibleCount()const [protected]

    Returns the number of visible items

    Returns: the number of visible items