Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: MSVFIND.H
Link against: msgs.lib
Link against: msgs_autoshutdown.lib

Class CMsvFindResultSelection

class CMsvFindResultSelection : public CArrayFixFlat< TMsvFindResult >;

Description

Collection of results from a text search operation. The collection is organized as an array.

Derivation

Members

Defined in CMsvFindResultSelection:
CMsvFindResultSelection(), CopyL(), CopyLC(), Find()


Construction and destruction


CMsvFindResultSelection()

IMPORT_C CMsvFindResultSelection();

Description

Constructs an empty results collection.

[Top]


Member functions


CopyL()

IMPORT_C CMsvFindResultSelection *CopyL() const;

Description

Creates a copy of the results of the text search operation.

The function leaves if memory cannot be allocated for the new object.

Return value

CMsvFindResultSelection *

Pointer to the new copy of the results of the text search operation.


CopyLC()

IMPORT_C CMsvFindResultSelection *CopyLC() const;

Description

Creates a copy of the results of the text search operation and puts a pointer to the new object onto the cleanup stack.

The function leaves if memory cannot be allocated for the new object.

Return value

CMsvFindResultSelection *

Pointer to the new copy of the results of the text search operation.


Find()

IMPORT_C TInt Find(TMsvId aId) const;

Description

Returns the index of the entry corresponding to the specified entry Id.

Parameters

TMsvId aId

The entry Id.

Return value

TInt

The index of the entry within the search results which has the specified entry Id. KErrNotFound, if there is no matching entry.