class CContactFieldStorage : public CBase |
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.
Public Member Functions | |
---|---|
void | ExternalizeL(RWriteStream &) |
void | InternalizeL(RReadStream &) |
TBool | IsFull() |
void | RestoreL(CStreamStore &, RReadStream &) |
TStreamId | StoreL(CStreamStore &) |
Private Member Functions | |
---|---|
IMPORT_C void | CContactFieldStorage_Reserved1() |
Private Attributes | |
---|---|
TAny * | CContactFieldStorage_Reserved |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [pure virtual] |
Externalises the field data.
RWriteStream & aStream | Write stream to which the contents of the field should be externalised. |
void | InternalizeL | ( | RReadStream & | aStream | ) | [pure virtual] |
Internalises the field data.
RReadStream & 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.
True if the field storage contains data, false if not.
void | RestoreL | ( | CStreamStore & | aStore, |
RReadStream & | aStream | |||
) | [pure virtual] |
Restores the field data.
CStreamStore & aStore | Reference to the store from which the object is to be restored. |
RReadStream & aStream | Reference to the stream which should be passed to InternalizeL(). |
TStreamId | StoreL | ( | CStreamStore & | aStore | ) | const [pure virtual] |
Stores the field data.
The ID of the stream store.
CStreamStore & aStore | Reference to the stream store to which the field data is written. |