Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: CNTFLDST.H
Link against: cntmodel.lib

Class CContactFieldStorage

class CContactFieldStorage : public CBase;

Description

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.

Derivation

Members

Defined in CContactFieldStorage:
CContactFieldStorage_Reserved1(), ExternalizeL(), InternalizeL(), IsFull(), RestoreL(), StoreL()

Inherited from CBase:
Delete(), Extension_(), operator new()


Member functions


InternalizeL()

virtual void InternalizeL(RReadStream &aStream)=0;

Description

Internalises the field data.

Parameters

RReadStream &aStream

Stream from which the the contents of the field should be internalised.


ExternalizeL()

virtual void ExternalizeL(RWriteStream &aStream) const=0;

Description

Externalises the field data.

Parameters

RWriteStream &aStream

Write stream to which the contents of the field should be externalised.


StoreL()

virtual TStreamId StoreL(CStreamStore &aStore) const=0;

Description

Stores the field data.

Parameters

CStreamStore &aStore

Reference to the stream store to which the field data is written.

Return value

TStreamId

The ID of the stream store.


RestoreL()

virtual void RestoreL(CStreamStore &aStore, RReadStream &aStream)=0;

Description

Restores the field data.

Parameters

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().


IsFull()

virtual TBool IsFull() const=0;

Description

Tests whether the field storage contains data.

Return value

TBool

True if the field storage contains data, false if not.


CContactFieldStorage_Reserved1()

private: virtual IMPORT_C void CContactFieldStorage_Reserved1();

Description