class TMsvEntry |
Represents an entry in the Message Server index.
MTM implementations and message client applications use it to access and manipulate index entry values. Note that a TMsvEntry is effectively a local cache of the index entry, and changes to it are not automatically written into the index. To commit changes to the Message Server, you need to call CMsvEntry::ChangeL() (or CMsvServerEntry::ChangeEntry()).
To avoid repetition, the functions and data members are simply listed here, without detailed explanation of the fields. The public data members can be used to get and set the values of some index entry fields.
Protected Member Functions | |
---|---|
TUint | PersistedFlags() |
void | SetDeleted(TBool) |
void | SetId(TMsvId) |
void | SetOwner(TBool) |
void | SetParent(TMsvId) |
TUint | TemporaryFlags() |
Private Member Functions | |
---|---|
void | Copy(const TMsvEntry &) |
Public Attributes | |
---|---|
TInt32 | iBioType |
TTime | iDate |
TPtrC | iDescription |
TPtrC | iDetails |
TInt32 | iError |
TUid | iMtm |
TInt32 | iMtmData1 |
TInt32 | iMtmData2 |
TInt32 | iMtmData3 |
TMsvId | iRelatedId |
TMsvId | iServiceId |
TInt32 | iSize |
TUid | iType |
Private Attributes | |
---|---|
TInt32 | iData |
TMsvId | iId |
TMsvId | iParentId |
TInt32 | iPcSyncCount |
TInt32 | iReserved |
IMPORT_C | TMsvEntry | ( | const TMsvEntry & | aEntry | ) |
const TMsvEntry & aEntry |
TBool | Attachment | ( | ) | const [inline] |
Gets the value of the attachment flag.
The value of the attachment flag
TBool | Complete | ( | ) | const [inline] |
Gets the value of the message complete flag.
Note that for email download without size limits, the complete flag will only be set to true once all the parts of the message (body text and attachments) have been downloaded.
The value of the message complete flag
TBool | Connected | ( | ) | const [inline] |
Gets the value of the remote server connection flag.
The value of the remote server connection flag
void | Copy | ( | const TMsvEntry & | aEntry | ) | [private] |
const TMsvEntry & aEntry |
TBool | Deleted | ( | ) | const [inline] |
Gets the value of the deleted flag.
The value of the deleted flag
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
TBool | Failed | ( | ) | const [inline] |
Gets the value of the message send failed flag.
The value of the message send failed flag
TBool | InPreparation | ( | ) | const [inline] |
Gets the value of the in preparation flag.
The value of the in preparation flag
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
RReadStream & aStream |
TBool | MultipleRecipients | ( | ) | const [inline] |
Gets the value of the multiple recipients flag.
The value of the multiple recipients flag
TBool | New | ( | ) | const [inline] |
Gets the value of the new message flag.
The value of the new message flag
TBool | Operation | ( | ) | const [inline] |
Gets the value of the disconnected operation queued flag.
The value of the disconnected operation queued flag
TInt | PcSyncCount | ( | ) | const [inline] |
Gets the value of the PC synchronisation field.
The value of the PC synchronisation field
IMPORT_C TBool | PermanentDataUnchanged | ( | const TMsvEntry & | aEntry | ) | const |
const TMsvEntry & aEntry |
TBool | ReadOnly | ( | ) | const [inline] |
Gets the value of the read-only flag.
The value of the read-only flag
TBool | Scheduled | ( | ) | const [inline] |
Gets the scheduled flag.
The value of the scheduled flag
void | SetAttachment | ( | TBool | aAttachmentFlag | ) | [inline] |
Sets the attachment flag.
TBool aAttachmentFlag | Value for the attachment flag |
void | SetComplete | ( | TBool | aComplete | ) | [inline] |
Sets the message complete flag.
Note that for email download without size limits, the complete flag will only be set to true once all the parts of the message (body text and attachments) have been downloaded.
TBool aComplete | Value for the message complete flag |
void | SetConnected | ( | TBool | aConnected | ) | [inline] |
Sets the remote server connection flag.
TBool aConnected | Value for the remote server connection flag |
void | SetDeleteProtected | ( | TBool | aDeleteProtected | ) | [inline] |
This method sets bit 24 of iMtmData1, if you are using this bit elsewhere don't call this method.
TBool aDeleteProtected |
void | SetFailed | ( | TBool | aFailed | ) | [inline] |
Sets the message send failed flag.
TBool aFailed | Value for the message send failed flag |
void | SetForwarded | ( | TBool | aForwarded | ) | [inline] |
This method sets bit 31 of iMtmData1, if you are using this bit elsewhere don't call this method.
TBool aForwarded |
void | SetInPreparation | ( | TBool | aInPreparation | ) | [inline] |
Sets the in-preparation flag.
TBool aInPreparation | Value for the in-preparation flag |
void | SetLocallyDeleted | ( | TBool | aLocallyDeleted | ) | [inline] |
This method sets bit 32 of iMtmData1, if you are using this bit elsewhere don't call this method.
TBool aLocallyDeleted |
void | SetMultipleRecipients | ( | TBool | aMultipleRecipient | ) | [inline] |
Sets the multiple recipients flag.
TBool aMultipleRecipient | Value for the multiple recipients flag |
void | SetNew | ( | TBool | aNew | ) | [inline] |
Sets the message new flag.
TBool aNew | Value for the message new flag |
void | SetOffPeak | ( | TBool | aOffPeak | ) | [inline] |
Sets the off-peak flag.
TBool aOffPeak | Value for off-peak flag. |
void | SetOperation | ( | TBool | aOperation | ) | [inline] |
Sets the disconnected operation queued flag.
TBool aOperation | Value for the disconnected operation queued flag |
IMPORT_C void | SetPendingConditions | ( | TBool | aPendingConditions | ) |
TBool aPendingConditions |
void | SetPendingDelete | ( | TBool | aPendingDelete | ) | [inline] |
TBool aPendingDelete |
IMPORT_C void | SetPriority | ( | TMsvPriority | aPriority | ) |
TMsvPriority aPriority |
void | SetReadOnly | ( | TBool | aReadOnly | ) | [inline] |
Sets the read-only flag.
TBool aReadOnly | Value for the read-only flag |
void | SetScheduled | ( | TBool | aScheduled | ) | [inline] |
Sets the scheduled flag.
TBool aScheduled | Value for the scheduled flag. |
void | SetSendingState | ( | TUint | aSendingState | ) | [inline] |
Sets the sending state.
TUint aSendingState | The sending state. This must be a value between 0x00 and KMsvSendStateMax. |
void | SetStandardFolder | ( | TBool | aStanardFolder | ) | [inline] |
TBool aStanardFolder |
void | SetUnread | ( | TBool | aUnread | ) | [inline] |
Sets the message unread flag.
TBool aUnread | Value for the message unread flag |
void | SetVisible | ( | TBool | aVisble | ) | [inline] |
Sets the entry visible flag.
TBool aVisble | Value for the entry visible flag |
void | SetVisibleFolderFlag | ( | TBool | aReadOnly | ) | [inline] |
Sets the flag for the TMsvEntry's visible folder(CMsvCacheVisibleFolder), if the entry is visible while creation.
TBool aReadOnly |
TBool | StandardFolder | ( | ) | const [inline] |
Gets the value of the standard folder flag.
The value of the standard folder flag
TBool | Unread | ( | ) | const [inline] |
Gets the value of the message unread flag.
The value of the message unread flag
TBool | Visible | ( | ) | const [inline] |
Gets the value of the entry visible flag.
The value of the entry visible flag
TBool | VisibleFolderFlag | ( | ) | const [inline] |
Gets the value of the TMsvEntry's visible folder flag. The value of the entry visible flag
IMPORT_C TMsvEntry & | operator= | ( | const TMsvEntry & | aEntry | ) |
const TMsvEntry & aEntry |
IMPORT_C TBool | operator== | ( | const TMsvEntry & | aEntry | ) | const |
const TMsvEntry & aEntry |
TInt32 | iMtmData1 |
MTM data 1: this can be used for any purpose by an MTM. This member must only be accessed through the predefined set and get functions. If you must write data to a bit that has no meaning in the predefined derived classes then you must derive your own class from TMsvEntry.
TInt32 | iMtmData2 |
MTM data 2: this can be used for any purpose by an MTM. This member must only be accessed through the predefined set and get functions. If you must write data to a bit that has no meaning in the predefined derived classes then you must derive your own class from TMsvEntry.
TInt32 | iMtmData3 |
MTM data 3: this can be used for any purpose by an MTM. This member must only be accessed through the predefined set and get functions. If you must write data to a bit that has no meaning in the predefined derived classes then you must derive your own class from TMsvEntry.