Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: HLPMODEL.H
Link against: hlpmodel.lib

Class CHlpList

class CHlpList : public CBase, public MHlpTitleArray;

Description

A list of help items (CHlpItem objects).

Derivation

Members

Defined in CHlpList:
AppendL(), At(), Find(), Item(), MdcaCount(), MdcaPoint(), NewL(), NewLC(), Reset(), ~CHlpList()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CHlpList *NewL();

Description

Allocates and creates a new help list object.

Return value

CHlpList *

New help list object


NewLC()

static IMPORT_C CHlpList *NewLC();

Description

Allocates and creates a new help list object, leaving the object on the cleanup stack.

Return value

CHlpList *

New help list object


~CHlpList()

IMPORT_C ~CHlpList();

Description

Destructor.

[Top]


Member functions


MdcaCount()

virtual IMPORT_C TInt MdcaCount() const;

Description

Gets the number of items in the list.

Return value

TInt

Number of items in the list


MdcaPoint()

virtual IMPORT_C TPtrC MdcaPoint(TInt aIndex) const;

Description

Gets the title of the item at the specified index.

Parameters

TInt aIndex

Item index

Return value

TPtrC

Title of the item


At()

virtual IMPORT_C TUint32 At(TInt aIndex) const;

Description

Gets the topic ID of the item at the specified index.

Parameters

TInt aIndex

Item index

Return value

TUint32

Topic ID


Item()

IMPORT_C CHlpItem *Item(TInt aIndex) const;

Description

Gets the item at the specified index.

Parameters

TInt aIndex

Item index

Return value

CHlpItem *

Item


Find()

IMPORT_C TInt Find(TUint32 aId);

Description

Searches the list for a specified item ID.

Parameters

TUint32 aId

Item ID

Return value

TInt

Item index, or KErrNotFound if not found


Reset()

IMPORT_C void Reset();

Description

Resets the list.


AppendL()

IMPORT_C void AppendL(CHlpItem *aItem);

Description

Appends an item to the list.

Parameters

CHlpItem *aItem

Item to add