#include <mw/msvstd.h>
Link against: msgs_autoshutdown.lib
class CMsvEntryFilter : public CBase, public CBase, public CBase |
Public Member Functions | |
---|---|
const TTime & | LastChangeDate() |
TUid | Mtm() |
IMPORT_C CMsvEntryFilter * | NewL() |
IMPORT_C CMsvEntryFilter * | NewLC() |
const TMsvSelectionOrdering & | Order() |
TMsvId | Service() |
void | SetLastChangeDate(const TTime &) |
void | SetMtm(TUid) |
void | SetOrder(const TMsvSelectionOrdering &) |
void | SetService(TMsvId) |
void | SetSortMtm(TUid) |
void | SetType(TUid) |
TUid | SortMtm() |
TUid | Type() |
Used to query the Message Server for entries that match the specification defined in the filter.
It allows a query to be performed on service, MTM, type and last change date. The filter also enables the specification of the order in which the entries are returned.
See also: CMsvSession::GetChildIdsL()
const TTime & | LastChangeDate | ( | ) | const [inline] |
Gets the last change date set for the filter.
TUid | Mtm | ( | ) | const [inline] |
Gets the MTM UID set for the filter.
IMPORT_C CMsvEntryFilter * | NewL | ( | ) | [static] |
Allocates and constructs a new entry filter.
Default values are as follows:
1. service: KMsvNullIndexEntryId
2. MTM: KNullUid
3. entry type: KNullUid
4. last change date: no date
5. sort order defaults to EMsvSortByNone
These values mean that entries with any values for service, MTM, type and last change date will be returned, with no grouping or sort MTM.
IMPORT_C CMsvEntryFilter * | NewLC | ( | ) | [static] |
Allocates and constructs a new entry filter, and leaves the pointer on the cleanup stack.
For default values, see the NewL() function.
const TMsvSelectionOrdering & | Order | ( | ) | const [inline] |
Gets the selection ordering set for the filter.
TMsvId | Service | ( | ) | const [inline] |
Gets the service ID set for the filter.
void | SetLastChangeDate | ( | const TTime & | aLastChange | ) | [inline] |
Sets the last date change for the filter.
This is used to retrieve entries that have changed since a particular date.
Parameters | |
---|---|
aLastChange | Last date change for the filter, specified in Universal Time (GMT) |
void | SetOrder | ( | const TMsvSelectionOrdering & | aOrder | ) | [inline] |
Sets the sort ordering for the filter.
Parameters | |
---|---|
aOrder | Selection ordering for the filter |
void | SetService | ( | TMsvId | aServiceId | ) | [inline] |
Sets the service ID for the filter.
Parameters | |
---|---|
aServiceId | Service ID for the filter |
void | SetSortMtm | ( | TUid | aSortMtm | ) | [inline] |
Sets the sorting by MTM for the filter.
Parameters | |
---|---|
aSortMtm | Sorting by MTM for the filter |
void | SetType | ( | TUid | aType | ) | [inline] |
Sets the entry type for the filter.
Parameters | |
---|---|
aType | Entry type for the filter |
TUid | SortMtm | ( | ) | const [inline] |
Gets the sorting by MTM for the filter.
TUid | Type | ( | ) | const [inline] |
Gets the entry type set for the filter.