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().
Public Member Functions | |
---|---|
~CContactViewDef() | |
void | AddL(TFieldType) |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C CContactIdArray & | Groups() |
IMPORT_C void | InternalizeL(RReadStream &) |
IMPORT_C CContactItemViewDef & | ItemDef() |
IMPORT_C CContactViewDef * | NewL() |
IMPORT_C CContactViewDef * | NewL(CContactItemViewDef *) |
IMPORT_C CContactViewDef * | NewLC() |
IMPORT_C CContactViewDef * | NewLC(CContactItemViewDef *) |
CContactViewDef * | NewLC(RReadStream &) |
Private Member Functions | |
---|---|
CContactViewDef() | |
void | ConstructL(CContactItemViewDef *) |
Private Attributes | |
---|---|
CContactItemViewDef * | iItemDef |
void | AddL | ( | TFieldType | aFieldType | ) | [inline] |
This function is not implemented.
TFieldType aFieldType | The field type to append to the array of field types. |
void | ConstructL | ( | CContactItemViewDef * | aItemDef | ) | [private] |
CContactItemViewDef * aItemDef |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
RReadStream & aStream |
IMPORT_C CContactViewDef * | NewL | ( | CContactItemViewDef * | aItemDef | ) | [static] |
CContactItemViewDef * aItemDef |
IMPORT_C CContactViewDef * | NewLC | ( | CContactItemViewDef * | aItemDef | ) | [static] |
CContactItemViewDef * aItemDef |
CContactViewDef * | NewLC | ( | RReadStream & | aStream | ) | [static] |
RReadStream & aStream |