CContactViewDef Class Reference

class CContactViewDef : public CBase

Specifies a subset of fields to be loaded when reading a contact item.

A default view definition is owned by the contact database. It is set using CContactDatabase::SetViewDefinitionL() and is used in calls to CContactDatabase::ReadContactL(), ReadContactLC() and ReadContactAndAgentL() when no view definition is specified.

The view definition owns the item view definition (see the CContactItemViewDef class), which stores the view definition's field types, use and mode.

The following functions declared in class CContactViewDef have not been implemented:- Groups(), AddL().

Inherits from

Constructor & Destructor Documentation

CContactViewDef()

CContactViewDef()[private]

~CContactViewDef()

IMPORT_C~CContactViewDef()

Member Functions Documentation

AddL(TFieldType)

voidAddL(TFieldTypeaFieldType)[inline]

This function is not implemented.

Parameters

TFieldType aFieldTypeThe field type to append to the array of field types.

ConstructL(CContactItemViewDef *)

voidConstructL(CContactItemViewDef *aItemDef)[private]

Parameters

CContactItemViewDef * aItemDef

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

Groups()

IMPORT_C CContactIdArray &Groups()const

This function is not implemented

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

ItemDef()

IMPORT_C CContactItemViewDef &ItemDef()const

NewL()

IMPORT_C CContactViewDef *NewL()[static]

NewL(CContactItemViewDef *)

IMPORT_C CContactViewDef *NewL(CContactItemViewDef *aItemDef)[static]

Parameters

CContactItemViewDef * aItemDef

NewLC()

IMPORT_C CContactViewDef *NewLC()[static]

NewLC(CContactItemViewDef *)

IMPORT_C CContactViewDef *NewLC(CContactItemViewDef *aItemDef)[static]

Parameters

CContactItemViewDef * aItemDef

NewLC(RReadStream &)

CContactViewDef *NewLC(RReadStream &aStream)[static]

Parameters

RReadStream & aStream

Member Data Documentation

CContactItemViewDef * iItemDef

CContactItemViewDef *iItemDef[private]