Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: CNTFLDST.H
Link against: cntmodel.lib

Class CContactStoreField

class CContactStoreField : public CContactFieldStorage;

Description

Provides access to the binary field data stored in an 8-bit descriptor.

An object of this class can be retrieved using CContactItemField::StoreStorage().

Derivation

Members

Defined in CContactStoreField:
CContactFieldStorage_Reserved1(), ExternalizeL(), InternalizeL(), IsFull(), RestoreL(), SetThingL(), SetThingL(), SetThingL(), StoreL(), Thing()

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


Member functions


StoreL()

virtual TStreamId StoreL(CStreamStore &aStore) const;

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);

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


SetThingL()

IMPORT_C void SetThingL(const TDesC8 &aDes);

Description

Sets the field data from an 8-bit descriptor.

Parameters

const TDesC8 &aDes

8-bit descriptor containing the binary data to copy into the field.


SetThingL()

IMPORT_C void SetThingL(const HBufC8 &aDes);

Description

Sets the field data from an 8-bit heap descriptor.

Parameters

const HBufC8 &aDes

8-bit heap descriptor containing the binary data to copy into the field.


SetThingL()

IMPORT_C void SetThingL(const CBufBase *aBuf);

Description

Sets the field data from a buffer.

Parameters

const CBufBase *aBuf

Buffer containing the binary data to copy into the field.


Thing()

IMPORT_C HBufC8 *Thing() const;

Description

Gets a pointer to the binary data stored in the field.

Return value

HBufC8 *

Pointer to the binary data stored in the field.


InternalizeL()

virtual void InternalizeL(RReadStream &aStream);

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;

Description

Externalises the field data.

Parameters

RWriteStream &aStream

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


IsFull()

virtual TBool IsFull() const;

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