#include <app/cntfldst.h>
class CContactDateField : public CContactFieldStorage, public CContactFieldStorage |
Public Member Functions | |
---|---|
CContactDateField() | |
virtual void | ExternalizeL(RWriteStream &) |
virtual void | InternalizeL(RReadStream &) |
virtual TBool | IsFull() |
virtual void | RestoreL(CStreamStore &, RReadStream &) |
IMPORT_C void | SetTime(TTime) |
IMPORT_C void | SetTime(TDateTime) |
virtual TStreamId | StoreL(CStreamStore &) |
IMPORT_C TTime | Time() |
Provides access to the date/time value stored in a contact item field.
An object of this class can be retrieved using CContactItemField::DateTimeStorage().
CContactDateField | ( | ) |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Reimplemented from CContactFieldStorage::ExternalizeL(RWriteStream &)const
Externalises the field data.
Parameters | |
---|---|
aStream | Write stream to which the contents of the field should be externalised. |
void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Reimplemented from CContactFieldStorage::InternalizeL(RReadStream &)
Internalises the field data.
Parameters | |
---|---|
aStream | Stream from which the the contents of the field should be internalised. |
TBool | IsFull | ( | ) | const [virtual] |
Reimplemented from CContactFieldStorage::IsFull()const
Tests whether the field storage contains data.
void | RestoreL | ( | CStreamStore & | aStore, |
RReadStream & | aStream | |||
) | [virtual] |
Reimplemented from CContactFieldStorage::RestoreL(CStreamStore &,RReadStream &)
Restores the field data.
Parameters | |
---|---|
aStore | Reference to the store from which the object is to be restored. |
aStream | Reference to the stream which should be passed to InternalizeL(). |
TStreamId | StoreL | ( | CStreamStore & | aStore | ) | const [virtual] |
Reimplemented from CContactFieldStorage::StoreL(CStreamStore &)const
Stores the field data.
Parameters | |
---|---|
aStore | Reference to the stream store to which the field data is written. |