#include <app/cntitem.h>
class CContactItemPlusGroup : public CContactItem |
Public Member Functions | |
---|---|
virtual void | ExternalizeL(RWriteStream &) |
IMPORT_C const CContactIdArray * | GroupsJoined() |
IMPORT_C CContactIdArray * | GroupsJoinedLC() |
virtual void | InternalizeL(RReadStream &) |
IMPORT_C void | ResetGroups() |
IMPORT_C void | SetGroups(CContactIdArray *) |
Protected Member Functions | |
---|---|
CContactItemPlusGroup() | |
~CContactItemPlusGroup() |
Inherited Enumerations | |
---|---|
CContactItem:@64 |
Abstract base class for CContactGroup, CContactCard and CContactOwnCard.
The purpose of this class is to avoid duplication of group functionality in its derived classes.
IMPORT_C | ~CContactItemPlusGroup | ( | ) | [protected] |
Frees the array of group IDs to which the derived class object belongs. Frees the array of contact item IDs which identify the groups to which the derived class object belongs, prior to its destruction.
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Reimplemented from CContactItem::ExternalizeL(RWriteStream &)const
Externalises a CContactItemPlusGroup object to a write stream.
Parameter | Description |
---|---|
aStream | Stream to which the object should be externalised. |
IMPORT_C const CContactIdArray * | GroupsJoined | ( | ) | const |
Returns a pointer to a list of contact item IDs which identify the groups to which the derived class object belongs.
Returns: A pointer to the array of groups IDs to which the derived class object belongs. NULL if the object is not a member of any groups.
IMPORT_C CContactIdArray * | GroupsJoinedLC | ( | ) | const |
Returns a pointer to a list of contact item IDs which identify the groups to which the derived class object belongs.
Returns: A pointer to a copy of the array of groups IDs to which the derived class object belongs. This array is empty if the object is not a member of any groups. The caller takes ownership of this object, so is responsible for its deletion.
void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Reimplemented from CContactItem::InternalizeL(RReadStream &)
Internalises a CContactItemPlusGroup object from a read stream.
Parameter | Description |
---|---|
aStream | Stream from which the object should be internalised. |