CMobilePhoneEditableListBase Class Reference

class CMobilePhoneEditableListBase : public CMobilePhoneListBase

A base class within a thin-template implementation

Implements the methods for "write" access to a list class

Inherits from

Constructor & Destructor Documentation

CMobilePhoneEditableListBase(TInt, TInt)

IMPORT_C CMobilePhoneEditableListBase ( TInt aLength,
TInt aGranularity
) [protected]

Standard constructor.

Parameters

TInt aLength The length of the elements of this fixed length array. This value must be positive otherwise the constructor raises an E32USER-CBase 17 panic.
TInt aGranularity The granularity of the array. This value must be positive otherwise the constructor raises an E32USER-CBase 18 panic.

~CMobilePhoneEditableListBase()

IMPORT_C ~CMobilePhoneEditableListBase ( )

Standard empty destructor.

Member Functions Documentation

DeleteEntryL(TInt)

IMPORT_C void DeleteEntryL ( TInt aIndex )

Deletes the entry at index aIndex from the list.

capability
None

Parameters

TInt aIndex Index of the entry to be deleted from the list

InsertEntryL(TInt, const TAny *)

IMPORT_C void InsertEntryL ( TInt aIndex,
const TAny * aEntry
) [protected]

Inserts a new list entry at the specified index

leave
EListIndexOutOfRange If aIndex > number of entries in the list.
leave
EListMaxNumberReached If the maximum number of entries is reached.
capability
None

Parameters

TInt aIndex Index of the point at which to insert the new entry
const TAny * aEntry Pointer to the new entry