Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: cntfldst.h
Link against: cntmodel.lib

Class CContactStoreField

CContactStoreField

Support

Supported from 5.0

Description

Stores, sets and retrieves binary field data which is contained in an 8-bit descriptor. An object of this class can be retrieved using CContactItemField::StoreStorage().

Derivation

CBaseBase class for all classes to be instantiated on the heap
CContactFieldStorageAbstract base class for the different types of contact field data storage
CContactStoreFieldStores, sets and retrieves binary field data which is contained in an 8-bit descriptor

Defined in CContactStoreField:
SetThingL(), Thing()

Inherited from CBase:
operator new()

Inherited from CContactFieldStorage:
ExternalizeL(), InternalizeL(), IsFull(), RestoreL(), StoreL()


Set / get stored data


SetThingL()

void SetThingL(MDesCArray* anArray);

Support

Withdrawn in 6.0

Description

Sets the data which is stored in the field from a descriptor array.

Parameters

MDesCArray* anArray

Pointer to a descriptor array containing the field data to be stored.


SetThingL()

void SetThingL(const TDesC& aDes);

Support

Withdrawn in 6.0

Description

Sets the data which is stored in the field from a descriptor.

Parameters

const TDesC& aDes

Descriptor containing the data to be stored in the field.


SetThingL()

void SetThingL(const TDesC8& aDes);

Support

Supported from 6.0

Description

Sets the data which is stored in the field from an 8-bit descriptor.

Parameters

const TDesC8& aDes

8-bit descriptor containing the binary data to be stored in the field.


SetThingL()

void SetThingL(CBufBase* abuf);

Support

Withdrawn in 6.0

Description

Sets the data which is stored in the field from a buffer.

Parameters

CBufBase* abuf

Pointer to a buffer containing the data to be stored in the field.


SetThingL()

void SetThingL(const HBufC8& aDes);

Support

Supported from 6.0

Description

Sets the data which is stored in the field from an 8-bit heap descriptor.

Parameters

const HBufC8& aDes

8-bit heap descriptor containing the binary data to be stored in the field.


Thing()

CBufBase* Thing() const;

Support

Withdrawn in 6.0

Description

Retrieves the data stored in the field as a pointer to a buffer.

Return value

CBufBase*

Pointer to a buffer containing the data stored in the field.


Thing()

HBufC8* Thing() const;

Support

Supported from 6.0

Description

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

Return value

HBufC8*

Pointer to the binary data stored in the field.