Location:
cntdb.h
Link against: cntmodel.lib
CContactViewDef
Supported from 5.0
The view definition 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 prototyped in class
CContactViewDef
have not been implemented: —
Groups()
, AddL()
.
|
Defined in CContactViewDef
:
ExternalizeL()
, InternalizeL()
, ItemDef()
, NewL()
, NewLC()
, ~CContactViewDef()
Inherited from CBase
:
operator new()
static CContactViewDef* NewL();
static CContactViewDef* NewL(CContactItemViewDef* aItemDef);
Allocates and constructs a view definition — overloaded function. An item view definition may be specified to contain the view definition's field types, use and mode.
|
|
static CContactViewDef* NewLC();
static CContactViewDef* NewLC(CContactItemViewDef* aItemDef);
Allocates and constructs a view definition — overloaded function. An item view definition may be specified to contain the view definition's field types, use and mode.
|
|
void InternalizeL(RReadStream& aStream);
Internalises the object's item view definition from a read stream.
The presence of this function means that the standard templated
operator>>()
(defined in s32strm.h)
is available to internalise objects of this class.
|
void ExternalizeL(RWriteStream& aStream) const;
Externalises the object's item view definition to a write stream. The
presence of this function means that the standard templated
operator<<()
(defined in s32strm.h)
is available to externalise objects of this class.
|
CContactItemViewDef& ItemDef() const;
Retrieves the object's item view definition.
|