#include <app/cntfldst.h>
class CContactFieldStorage : public CBase, public CBase |
Public Member Functions | |
---|---|
pure virtual void | ExternalizeL(RWriteStream &) |
pure virtual void | InternalizeL(RReadStream &) |
pure virtual TBool | IsFull() |
pure virtual void | RestoreL(CStreamStore &, RReadStream &) |
pure virtual TStreamId | StoreL(CStreamStore &) |
Abstract base class for the different types of contact field data storage.
CContactTextField, CContactStoreField, CContactAgentField, CContactDateField and CContactNumberField are all derived from this class.
A pointer to the base class can be obtained by calling CContactItemField::Storage(). Pointers to the derived classes can be retrieved by calling CContactItemField::TextStorage(), CContactItemField::StoreStorage() etc.
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [pure virtual] |
Externalises the field data.
Parameters | |
---|---|
aStream | Write stream to which the contents of the field should be externalised. |
void | InternalizeL | ( | RReadStream & | aStream | ) | [pure virtual] |
Internalises the field data.
Parameters | |
---|---|
aStream | Stream from which the the contents of the field should be internalised. |
TBool | IsFull | ( | ) | const [pure virtual] |
Tests whether the field storage contains data.
void | RestoreL | ( | CStreamStore & | aStore, |
RReadStream & | aStream | |||
) | [pure virtual] |
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 [pure virtual] |
Stores the field data.
Parameters | |
---|---|
aStore | Reference to the stream store to which the field data is written. |