CAgnIndex Class Reference

class CAgnIndex : public CBase

Inherits from

Constructor & Destructor Documentation

CAgnIndex(TAgnKeyBase< CAgnSimpleEntry, TTime > &, MAgnCalendarTimeMode::TTimeMode)

CAgnIndex(TAgnKeyBase< CAgnSimpleEntry, TTime > &aKey,
MAgnCalendarTimeMode::TTimeModeaTimeMode
)

~CAgnIndex()

~CAgnIndex()

Member Functions Documentation

AddL(CAgnSimpleEntry *const)

TBool AddL(CAgnSimpleEntry *const aEntry)

Parameters

CAgnSimpleEntry *const aEntry

AppendL(CAgnSimpleEntry *const)

TBool AppendL(CAgnSimpleEntry *const aEntry)

Parameters

CAgnSimpleEntry *const aEntry

Array()

CArrayFixSeg< CAgnSimpleEntry * > *Array()const [private]

Compress()

voidCompress()

ConstructL()

voidConstructL()[protected]

Count()

TInt Count()const

Delete(TInt)

voidDelete(TIntaPos)

Parameters

TInt aPos

DeleteEntry(CAgnSimpleEntry *const)

TBool DeleteEntry(CAgnSimpleEntry *const aEntry)

Parameters

CAgnSimpleEntry *const aEntry

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aWriteStream)const

Parameters

RWriteStream & aWriteStream

FindL(const TTime &, TInt &, TBool)

TBool FindL(const TTime &aDate,
TInt &aPos,
TBoolaFirst = ETrue
)const

Parameters

const TTime & aDate
TInt & aPos
TBool aFirst = ETrue

FindWithEntry(CAgnSimpleEntry *const)

TInt FindWithEntry(CAgnSimpleEntry *const aEntry)[private]

Parameters

CAgnSimpleEntry *const aEntry

FirstL(TTime &, TInt &)

TBool FirstL(TTime &aDate,
TInt &aPos
)const [virtual]

Parameters

TTime & aDate
TInt & aPos

FirstLessOrEqualL(TTime &, TInt &)

TBool FirstLessOrEqualL(TTime &aDate,
TInt &aPos
)const [virtual]

Parameters

TTime & aDate
TInt & aPos

FirstValidL(TTime &, TInt &)

TBool FirstValidL(TTime &aKeyValue,
TInt &aPos
)const [protected]

Parameters

TTime & aKeyValue
TInt & aPos

Get(TInt)

CAgnSimpleEntry *Get(TIntanIndex)const

Parameters

TInt anIndex

GetKeyValueL(TInt, TTime &)

voidGetKeyValueL(TIntPos,
TTime &aDate
)const

Parameters

TInt Pos
TTime & aDate

GetKeyValueL(CAgnSimpleEntry *, TTime &)

voidGetKeyValueL(CAgnSimpleEntry *const,
TTime &aDate
)const [virtual]

Parameters

CAgnSimpleEntry * const
TTime & aDate

InternalizeL(RReadStream &, CAgnSimpleEntryAllocator *)

voidInternalizeL(RReadStream &aReadStream,
CAgnSimpleEntryAllocator *aAllocator
)

Parameters

RReadStream & aReadStream
CAgnSimpleEntryAllocator * aAllocator

IsValid(const CAgnSimpleEntry *)

TBool IsValid(const CAgnSimpleEntry *aInfo)const [virtual]

Parameters

const CAgnSimpleEntry * aInfo

NextL(TTime &, TInt &)

TBool NextL(TTime &aDate,
TInt &aPos
)const [virtual]

Parameters

TTime & aDate
TInt & aPos

PreviousL(TTime &, TInt &)

TBool PreviousL(TTime &aDate,
TInt &aPos
)const [virtual]

Parameters

TTime & aDate
TInt & aPos

Reset()

voidReset()

SetUndatedTodoTime(TTime &)

voidSetUndatedTodoTime(TTime &aUndatedTodoTime)

Parameters

TTime & aUndatedTodoTime

TimeMode()

MAgnCalendarTimeMode::TTimeMode TimeMode()const

operator[](TInt)

CAgnSimpleEntry *operator[](TIntanIndex)const

Parameters

TInt anIndex

Member Data Documentation

CArrayFixSeg< CAgnSimpleEntry * > * iArray

CArrayFixSeg< CAgnSimpleEntry * > *iArray[private]

TAgnKeyBase< CAgnSimpleEntry, TTime > & iKey

TAgnKeyBase< CAgnSimpleEntry, TTime > &iKey[private]

const MAgnCalendarTimeMode::TTimeMode iTimeMode

const MAgnCalendarTimeMode::TTimeModeiTimeMode[private]