CMobilePhoneEditableList Class Reference

class CMobilePhoneEditableList : public CMobilePhoneEditableListBase

A template class within a thin-template implementation

Provides the type-safe wrappers for "read-write" access to the CMobilePhoneEditableListBase list class

Inherits from

Constructor & Destructor Documentation

CMobilePhoneEditableList()

CMobilePhoneEditableList()[protected, inline]

Member Functions Documentation

AddEntryL(const T &)

voidAddEntryL(const T &aEntry)[inline]

Adds entry at the given position.

CMobilePhoneListBase::AddEntryL()

Parameters

const T & aEntryEntry to be added to list.

ChangeEntryL(TInt, const T &)

voidChangeEntryL(TIntaIndex,
const T &aEntry
)[inline]

This function member changes the entry at position aIndex in the list.

CMobilePhoneEditableList::ChangeEntryL()

Parameters

TInt aIndexThe entry position to change. A valid index ranges from 0 to count-1, where count is the value returned from CMobilePhoneListBase::Enumerate().
const T & aEntryEntry to replace the entry at position aEntry in the list.

ExternalizeEntryL(const TAny *, RWriteStream &)

voidExternalizeEntryL(const TAny *aPtr,
RWriteStream &aStream
)const [private, inline, virtual]

Pure virtual function that should externalise entry *aPtr into the aStream write stream. This member function is used by ExternalizeL to externalise the separate entries in the list.

Parameters

const TAny * aPtrPointer to the entry to be written to the stream
RWriteStream & aStreamOn return, the write stream.

GetEntryL(TInt)

const T &GetEntryL(TIntaIndex)const [inline]

Gets entry from the list at the given position.

CMobilePhoneListBase::GetEntryL()

Parameters

TInt aIndexIndex into the list of the entry to get.

InsertEntryL(TInt, const T &)

voidInsertEntryL(TIntaIndex,
const T &aEntry
)[inline]

This function member inserts a new list entry at the specified index.

CMobilePhoneEditableListBase::InsertEntryL()

Parameters

TInt aIndexIndex of the point at which to insert the new entry.
const T & aEntryPointer to the new entry.

InternalizeEntryL(TAny *, RReadStream &)

voidInternalizeEntryL(TAny *aPtr,
RReadStream &aStream
)const [private, inline, virtual]

Pure virtual function that should internalise entry *aPtr from the aStream read stream. This member function is used by InternalizeL to internalise the separate entries in the stream.

Parameters

TAny * aPtrOn return, pointer to the object that will contain the entry.
RReadStream & aStreamThe read stream containing the entry to be internalized.