Location:
MSVSTD.H
Link against: msgs_autoshutdown.lib
Link against: msgs.lib
class CMsvEntrySelection : public CArrayFixFlat< TMsvId >;
Description
Encapsulates an array of entry IDs.
An object of this type is commonly passed to a function to indicate the set of entries on which the function should operate. The array base class (CArrayFixFlat<TMsvId>) provide methods to access, sort, and manipulate members of the array.
Derivation
CArrayFixFlat< TMsvId > - No description.CMsvEntrySelection - Encapsulates an array of entry IDs
Members
Defined in CMsvEntrySelection:
CMsvEntrySelection(), CopyL(), CopyLC(), Find()
IMPORT_C CMsvEntrySelection();
Description
Creates an empty array.
IMPORT_C CMsvEntrySelection *CopyL() const;
Description
Creates a new CMsvEntrySelection object with the same contents as the current object. The client should delete the object when it is no longer required.
Return value
Leave codes
KErrNoMemory |
A memory allocation failed. |
|
IMPORT_C CMsvEntrySelection *CopyLC() const;
Description
Creates a new CMsvEntrySelection object with the same contents as the current object. The client should delete the object when it is no longer required.
The function leaves the new object on the cleanup stack.
Return value
Leave codes
KErrNoMemory |
A memory allocation failed. |
|
IMPORT_C TInt Find(TMsvId aId) const;
Description
Finds an item in the array by its entry ID.
Parameters
Return value
TInt
|
The index of the position of the entry in the array, or KErrNotFound if the selection does not contain the ID. |
|