Location:
CNTFLDST.H
Link against: cntmodel.lib
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.
CBase
- Base class for all classes to be instantiated on the heap
CContactFieldStorage
- Abstract base class for the different types of contact field data storage
Defined in CContactFieldStorage
:
CContactFieldStorage_Reserved1()
, ExternalizeL()
, InternalizeL()
, IsFull()
, RestoreL()
, StoreL()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
virtual void InternalizeL(RReadStream &aStream)=0;
Internalises the field data.
|
virtual void ExternalizeL(RWriteStream &aStream) const=0;
Externalises the field data.
|
virtual TStreamId StoreL(CStreamStore &aStore) const=0;
Stores the field data.
|
|
virtual void RestoreL(CStreamStore &aStore, RReadStream &aStream)=0;
Restores the field data.
|
virtual TBool IsFull() const=0;
Tests whether the field storage contains data.
|
private: virtual IMPORT_C void CContactFieldStorage_Reserved1();