CAknIconArray Class Reference

#include <mw/AknIconArray.h>

class CAknIconArray : public CArrayPtrFlat< CGulIcon >

Inherits from

  • CAknIconArray
    Public Member Functions
    CAknIconArray(TInt)
    ~CAknIconArray()
    IMPORT_C voidAppendFromResourceL(TInt)
    IMPORT_C voidAppendFromResourceL(TResourceReader &)
    IMPORT_C voidConstructFromResourceL(TInt)
    IMPORT_C voidConstructFromResourceL(TResourceReader &)
    Inherited Functions
    CArrayFix< CGulIcon * >::AppendL(const CGulIcon *&)
    CArrayFix< CGulIcon * >::AppendL(const CGulIcon *&,TInt)
    CArrayFix< CGulIcon * >::AppendL(const CGulIcon **,TInt)
    CArrayFix< CGulIcon * >::Array()const
    CArrayFix< CGulIcon * >::At(TInt)
    CArrayFix< CGulIcon * >::At(TInt)const
    CArrayFix< CGulIcon * >::Back(TInt)
    CArrayFix< CGulIcon * >::Back(TInt)const
    CArrayFix< CGulIcon * >::CArrayFix(TBufRep,TInt)
    CArrayFix< CGulIcon * >::End(TInt)
    CArrayFix< CGulIcon * >::End(TInt)const
    CArrayFix< CGulIcon * >::ExpandL(TInt)
    CArrayFix< CGulIcon * >::ExtendL()
    CArrayFix< CGulIcon * >::Find(const CGulIcon *&,TKeyArrayFix &,TInt &)const
    CArrayFix< CGulIcon * >::FindIsq(const CGulIcon *&,TKeyArrayFix &,TInt &)const
    CArrayFix< CGulIcon * >::InsertIsqAllowDuplicatesL(const CGulIcon *&,TKeyArrayFix &)
    CArrayFix< CGulIcon * >::InsertIsqL(const CGulIcon *&,TKeyArrayFix &)
    CArrayFix< CGulIcon * >::InsertL(TInt,const CGulIcon *&)
    CArrayFix< CGulIcon * >::InsertL(TInt,const CGulIcon *&,TInt)
    CArrayFix< CGulIcon * >::InsertL(TInt,const CGulIcon **,TInt)
    CArrayFix< CGulIcon * >::ResizeL(TInt)
    CArrayFix< CGulIcon * >::ResizeL(TInt,const CGulIcon *&)
    CArrayFix< CGulIcon * >::operator[](TInt)
    CArrayFix< CGulIcon * >::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< CGulIcon >::CArrayPtr(TBufRep,TInt)
    CArrayPtr< CGulIcon >::ResetAndDestroy()
    CArrayPtrFlat< CGulIcon >::CArrayPtrFlat(TInt)
    CArrayPtrFlat< CGulIcon >::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

    Icon array helper class. Extends CArrayPtrFlat<CGulIcon> to make it easier to load icons for a listbox. This class IS-A CArrayPtrFlat<CGulIcon>, but owns the CGulIcons it contains for leave-safety.

    Constructor & Destructor Documentation

    CAknIconArray ( TInt )

    IMPORT_CCAknIconArray(TIntaGranurality)

    C++ Constructor.

    ~CAknIconArray ( )

    IMPORT_C~CAknIconArray()

    Destructor. Destroys all icons in the array.

    Member Function Documentation

    AppendFromResourceL ( TInt )

    IMPORT_C voidAppendFromResourceL(TIntaResId)

    Append icons from a resource to this array.

    ParameterDescription
    aResIdid of a AKN_ICON_ARRAY resource.

    AppendFromResourceL ( TResourceReader & )

    IMPORT_C voidAppendFromResourceL(TResourceReader &aReader)

    Append icons from a resource to this array.

    ParameterDescription
    aReaderresource reader pointed to a AKN_ICON_ARRAY resource

    ConstructFromResourceL ( TInt )

    IMPORT_C voidConstructFromResourceL(TIntaResId)

    Second phase constructor: loads contents of array from resources.

    ParameterDescription
    aResIdid of a AKN_ICON_ARRAY resource.

    ConstructFromResourceL ( TResourceReader & )

    IMPORT_C voidConstructFromResourceL(TResourceReader &aReader)

    Second phase constructor: loads contents of array from resources.

    ParameterDescription
    aReaderresource reader pointed to a AKN_ICON_ARRAY resource.