Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: cntitem.h
Link against: cntmodel.lib

Class CContactItemPlusGroup

CContactItemPlusGroup

Support

Supported from 6.0

Description

Abstract base class for CContactGroup, CContactCard and CContactOwnCard. Exists to avoid duplication of group functionality in its three derived classes.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CContactItemThe abstract base class for contact cards, templates and groups
CContactItemPlusGroupAbstract base class for CContactGroup, CContactCard and CContactOwnCard

Defined in CContactItemPlusGroup:
GroupsJoined(), GroupsJoinedLC()

Inherited from CBase:
operator new()

Inherited from CContactItem:
AccessCount(), AddFieldL(), CardFields(), DecAccessCount(), Id(), IncAccessCount(), InsertFieldL(), IsDeletable(), IsDeleted(), IsHidden(), IsSystem(), LastModified(), RemoveField(), SetDeleteFlag(), SetDeleted(), SetHidden(), SetLastModified(), SetSystem(), SetTemplateRefId(), SetUidStringL(), TemplateRefId(), Type(), UidStringL(), UpdateFieldSet()


GroupsJoined()

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

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.

[Top]


GroupsJoinedLC()

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.