CMsvEntryArray Class Reference

class CMsvEntryArray : public CArrayPtrFlat< const TMsvEntry >
Public Member Functions
~CMsvEntryArray ()
IMPORT_C CMsvEntryArray * NewL (const CArrayFix < TUid > &)
IMPORT_C CMsvEntryArray * NewLC (const CArrayFix < TUid > &)
IMPORT_C void SortL ( TMsvSelectionOrdering )
Private Member Functions
CMsvEntryArray (const CArrayFix < TUid > &)
TInt ArrayId (const TMsvEntry *, TGroupCriterion )
void DetailBasedSortL ()
TInt FindSubjectStart (const TDesC &, const TDesC &)
void GroupL ( TGroupCriterion , TMsvSelectionOrdering , TBool )
TKeyArrayFixPtr MessageSortKey ( TMsvSorting )
TInt NumberOfArraysToSplitIntoL ( TGroupCriterion )
TBool OkToGroup ( TGroupCriterion , TMsvSelectionOrdering )
void ReverseOrder ( TMsvSorting )
void ReverseOrder ()
void SubjectBasedSortL ( TBool , const TDesC &)
Inherited Functions
CArrayFix< const TMsvEntry * >::AppendL(const const TMsvEntry *&)
CArrayFix< const TMsvEntry * >::AppendL(const const TMsvEntry *&,TInt)
CArrayFix< const TMsvEntry * >::AppendL(const const TMsvEntry **,TInt)
CArrayFix< const TMsvEntry * >::Array()const
CArrayFix< const TMsvEntry * >::At(TInt)
CArrayFix< const TMsvEntry * >::At(TInt)const
CArrayFix< const TMsvEntry * >::Back(TInt)
CArrayFix< const TMsvEntry * >::Back(TInt)const
CArrayFix< const TMsvEntry * >::CArrayFix(TBufRep,TInt)
CArrayFix< const TMsvEntry * >::End(TInt)
CArrayFix< const TMsvEntry * >::End(TInt)const
CArrayFix< const TMsvEntry * >::ExpandL(TInt)
CArrayFix< const TMsvEntry * >::ExtendL()
CArrayFix< const TMsvEntry * >::Find(const const TMsvEntry *&,TKeyArrayFix &,TInt &)const
CArrayFix< const TMsvEntry * >::FindIsq(const const TMsvEntry *&,TKeyArrayFix &,TInt &)const
CArrayFix< const TMsvEntry * >::InsertIsqAllowDuplicatesL(const const TMsvEntry *&,TKeyArrayFix &)
CArrayFix< const TMsvEntry * >::InsertIsqL(const const TMsvEntry *&,TKeyArrayFix &)
CArrayFix< const TMsvEntry * >::InsertL(TInt,const const TMsvEntry *&)
CArrayFix< const TMsvEntry * >::InsertL(TInt,const const TMsvEntry *&,TInt)
CArrayFix< const TMsvEntry * >::InsertL(TInt,const const TMsvEntry **,TInt)
CArrayFix< const TMsvEntry * >::ResizeL(TInt)
CArrayFix< const TMsvEntry * >::ResizeL(TInt,const const TMsvEntry *&)
CArrayFix< const TMsvEntry * >::operator[](TInt)
CArrayFix< const TMsvEntry * >::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< const TMsvEntry >::CArrayPtr(TBufRep,TInt)
CArrayPtr< const TMsvEntry >::ResetAndDestroy()
CArrayPtrFlat< const TMsvEntry >::CArrayPtrFlat(TInt)
CArrayPtrFlat< const TMsvEntry >::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()
Private Member Enumerations
enum TGroupCriterion { EGroupByStandardFolders , EGroupByType , EGroupByPriority , EGroupByMtm , EStopGrouping }
Private Attributes
CArrayFix < TUid > * iActualMtmList
const CArrayFix < TUid > & iOrigMtmList

Constructor & Destructor Documentation

CMsvEntryArray(const CArrayFix< TUid > &)

CMsvEntryArray ( const CArrayFix < TUid > & iMtmList ) [private]

Parameters

const CArrayFix < TUid > & iMtmList

~CMsvEntryArray()

IMPORT_C ~CMsvEntryArray ( )

Member Functions Documentation

ArrayId(const TMsvEntry *, TGroupCriterion)

TInt ArrayId ( const TMsvEntry * aEntry,
TGroupCriterion aGroupCriterion
) const [private]

Parameters

const TMsvEntry * aEntry
TGroupCriterion aGroupCriterion

DetailBasedSortL()

void DetailBasedSortL ( ) [private]

FindSubjectStart(const TDesC &, const TDesC &)

TInt FindSubjectStart ( const TDesC & aSubject,
const TDesC & aSubjectSkipString
) const [private]

Parameters

const TDesC & aSubject
const TDesC & aSubjectSkipString

GroupL(TGroupCriterion, TMsvSelectionOrdering, TBool)

void GroupL ( TGroupCriterion aGroupCriterion,
TMsvSelectionOrdering aOrdering,
TBool aDoSort
) [private]

Parameters

TGroupCriterion aGroupCriterion
TMsvSelectionOrdering aOrdering
TBool aDoSort

MessageSortKey(TMsvSorting)

TKeyArrayFixPtr MessageSortKey ( TMsvSorting aSortType ) const [private]

Parameters

TMsvSorting aSortType

NewL(const CArrayFix< TUid > &)

IMPORT_C CMsvEntryArray * NewL ( const CArrayFix < TUid > & iMtmList ) [static]

Parameters

const CArrayFix < TUid > & iMtmList

NewLC(const CArrayFix< TUid > &)

IMPORT_C CMsvEntryArray * NewLC ( const CArrayFix < TUid > & iMtmList ) [static]

Parameters

const CArrayFix < TUid > & iMtmList

NumberOfArraysToSplitIntoL(TGroupCriterion)

TInt NumberOfArraysToSplitIntoL ( TGroupCriterion aGroupCriterion ) [private]

Parameters

TGroupCriterion aGroupCriterion

OkToGroup(TGroupCriterion, TMsvSelectionOrdering)

TBool OkToGroup ( TGroupCriterion aGroupCriterion,
TMsvSelectionOrdering aOrdering
) const [private]

Parameters

TGroupCriterion aGroupCriterion
TMsvSelectionOrdering aOrdering

ReverseOrder(TMsvSorting)

void ReverseOrder ( TMsvSorting aSortType ) [private]

Parameters

TMsvSorting aSortType

ReverseOrder()

void ReverseOrder ( ) [private]

SortL(TMsvSelectionOrdering)

IMPORT_C void SortL ( TMsvSelectionOrdering aOrdering )

Parameters

TMsvSelectionOrdering aOrdering

SubjectBasedSortL(TBool, const TDesC &)

void SubjectBasedSortL ( TBool aReverse,
const TDesC & aSubjectSkipString
) [private]

Parameters

TBool aReverse
const TDesC & aSubjectSkipString

Member Enumerations Documentation

Enum TGroupCriterion

Enumerators

EGroupByStandardFolders
EGroupByType
EGroupByPriority
EGroupByMtm
EStopGrouping

Member Data Documentation

CArrayFix< TUid > * iActualMtmList

CArrayFix < TUid > * iActualMtmList [private]

const CArrayFix< TUid > & iOrigMtmList

const CArrayFix < TUid > & iOrigMtmList [private]