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

Public Member Functions
void AddEntryL (const T &)
void ChangeEntryL ( TInt , const T &)
const T & GetEntryL ( TInt )
void InsertEntryL ( TInt , const T &)
Protected Member Functions
CMobilePhoneEditableList ()
Private Member Functions
void ExternalizeEntryL (const TAny *, RWriteStream &)
void InternalizeEntryL ( TAny *, RReadStream &)
Inherited Functions
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()
CMobilePhoneEditableListBase::CMobilePhoneEditableListBase(TInt,TInt)
CMobilePhoneEditableListBase::DeleteEntryL(TInt)
CMobilePhoneEditableListBase::InsertEntryL(TInt,const TAny *)
CMobilePhoneEditableListBase::~CMobilePhoneEditableListBase()
CMobilePhoneListBase::AddEntryL(const TAny *)
CMobilePhoneListBase::CMobilePhoneListBase(TInt,TInt)
CMobilePhoneListBase::Enumerate()const
CMobilePhoneListBase::ExternalizeL(RWriteStream &)const
CMobilePhoneListBase::InternalizeL(RReadStream &)
CMobilePhoneListBase::MaxNumberEntries()const
CMobilePhoneListBase::RestoreL(const TDesC8 &)
CMobilePhoneListBase::SetMaxNumberEntries(TInt)
CMobilePhoneListBase::StoreL(TDes8 &)
CMobilePhoneListBase::StoreLC()
CMobilePhoneListBase::~CMobilePhoneListBase()
Inherited Enumerations
CMobilePhoneListBase:@149
CMobilePhoneListBase:@150
Inherited Attributes
CMobilePhoneListBase::iList
CMobilePhoneListBase::iMaxNumber

Constructor & Destructor Documentation

CMobilePhoneEditableList()

CMobilePhoneEditableList ( ) [protected, inline]

Member Functions Documentation

AddEntryL(const T &)

void AddEntryL ( const T & aEntry ) [inline]

Adds entry at the given position.

CMobilePhoneListBase::AddEntryL()

Parameters

const T & aEntry Entry to be added to list.

ChangeEntryL(TInt, const T &)

void ChangeEntryL ( TInt aIndex,
const T & aEntry
) [inline]

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

CMobilePhoneEditableList::ChangeEntryL()

Parameters

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

ExternalizeEntryL(const TAny *, RWriteStream &)

void ExternalizeEntryL ( 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 * aPtr Pointer to the entry to be written to the stream
RWriteStream & aStream On return, the write stream.

GetEntryL(TInt)

const T & GetEntryL ( TInt aIndex ) const [inline]

Gets entry from the list at the given position.

CMobilePhoneListBase::GetEntryL()

Parameters

TInt aIndex Index into the list of the entry to get.

InsertEntryL(TInt, const T &)

void InsertEntryL ( TInt aIndex,
const T & aEntry
) [inline]

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

CMobilePhoneEditableListBase::InsertEntryL()

Parameters

TInt aIndex Index of the point at which to insert the new entry.
const T & aEntry Pointer to the new entry.

InternalizeEntryL(TAny *, RReadStream &)

void InternalizeEntryL ( 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 * aPtr On return, pointer to the object that will contain the entry.
RReadStream & aStream The read stream containing the entry to be internalized.