Location:
CNTDB.H
Link against: cntmodel.lib
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()
.
CBase
- Base class for all classes to be instantiated on the heap
CContactViewDef
- Specifies a subset of fields to be loaded when reading a contact item
Defined in CContactViewDef
:
AddL()
, ExternalizeL()
, Groups()
, InternalizeL()
, ItemDef()
, NewL()
, NewL()
, NewLC()
, NewLC()
, ~CContactViewDef()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CContactViewDef *NewL();
Allocates and constructs a view definition.
|
static IMPORT_C CContactViewDef *NewLC();
Allocates and constructs a view definition, leaving it on the cleanup stack.
|
static IMPORT_C CContactViewDef *NewL(CContactItemViewDef *aItemDef);
Allocates and constructs a view definition.
|
|
static IMPORT_C CContactViewDef *NewLC(CContactItemViewDef *aItemDef);
Allocates and constructs a view definition.
|
|
IMPORT_C ~CContactViewDef();
Destroys the view definition object and deletes its owned item view definition.
IMPORT_C void InternalizeL(RReadStream &aStream);
Internalises the object's item view definition from a read stream.
|
IMPORT_C void ExternalizeL(RWriteStream &aStream) const;
Externalises the object's item view definition to a write stream.
|
IMPORT_C CContactItemViewDef &ItemDef() const;
Gets the object's item view definition.
|
IMPORT_C CContactIdArray &Groups() const;
This function is not implemented
|
inline void AddL(TFieldType aFieldType);
This function is not implemented.
|