Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <CNTITEM.H>
Link against: cntmodel.lib

Class CContactItemPlusGroup

class CContactItemPlusGroup : public CContactItem;

Description

Abstract base class for CContactGroup, CContactCard and CContactOwnCard.

The purpose of this class is to avoid duplication of group functionality in its derived classes.

Derivation

Members

Defined in CContactItemPlusGroup:

Inherited from CBase:

Inherited from CContactItem:


Construction and destruction


~CContactItemPlusGroup()

protected: IMPORT_C ~CContactItemPlusGroup();

Description

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.

[Top]


Member functions


GroupsJoined()

IMPORT_C const CContactIdArray *GroupsJoined() const;

Description

Returns a pointer to a list of contact item IDs which identify the groups to which the derived class object belongs.

Return value

const CContactIdArray *

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.


GroupsJoinedLC()

IMPORT_C CContactIdArray *GroupsJoinedLC() const;

Description

Returns a pointer to a list of contact item IDs which identify the groups to which the derived class object belongs.

Return value

CContactIdArray *

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.


ExternalizeL()

virtual void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises a CContactItemPlusGroup object to a write stream.

Parameters

RWriteStream &aStream

Stream to which the object should be externalised.


InternalizeL()

virtual void InternalizeL(RReadStream &aStream);

Description

Internalises a CContactItemPlusGroup object from a read stream.

Parameters

RReadStream &aStream

Stream from which the object should be internalised.