CContactItemPlusGroup Class Reference

#include <app/cntitem.h>

class CContactItemPlusGroup : public CContactItem, public CContactItem

Inherits from

Public Member Functions
virtual voidExternalizeL(RWriteStream &)
IMPORT_C const CContactIdArray *GroupsJoined()
IMPORT_C CContactIdArray *GroupsJoinedLC()
virtual voidInternalizeL(RReadStream &)
IMPORT_C voidResetGroups()
IMPORT_C voidSetGroups(CContactIdArray *)
Protected Member Functions
CContactItemPlusGroup()
~CContactItemPlusGroup()
Inherited Enumerations
CContactItem:@19
CContactItem:@3
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CContactItem::AccessCount()const
CContactItem::AddFieldL(CContactItemField &)
CContactItem::AddLabelFieldL()
CContactItem::Agent()
CContactItem::Attributes()const
CContactItem::CardFields()const
CContactItem::ClearFieldContent()
CContactItem::DecAccessCount()
CContactItem::Guid()
CContactItem::Id()const
CContactItem::IncAccessCount()
CContactItem::InsertFieldL(CContactItemField &,TInt)
CContactItem::IsDeletable()
CContactItem::IsDeleted()const
CContactItem::IsHidden()
CContactItem::IsSystem()
CContactItem::LastModified()const
CContactItem::NewLC(RReadStream &)
CContactItem::NewLC(TUid)
CContactItem::PopulateStoreL(CStreamStore &,CArrayFix< TFieldHeader > &)const
CContactItem::RemoveField(TInt)
CContactItem::RestoreTemplateFieldsL(const CContactItemFieldSet &,const CContactItemFieldSet &,const CContactItemViewDef &)
CContactItem::SetAccessCount(TUint32)
CContactItem::SetAttributes(TUint32)
CContactItem::SetCreationDate(const TTime &)
CContactItem::SetDeleted(TBool)
CContactItem::SetHidden(TBool)
CContactItem::SetId(TContactItemId)
CContactItem::SetLastModified(const TTime &)
CContactItem::SetSystem(TBool)
CContactItem::SetTemplateRefId(TContactItemId)
CContactItem::SetUidStringL(TDesC &)
CContactItem::TemplateRefId()const
CContactItem::Type()const
CContactItem::UidStringL(TInt64)const
CContactItem::UpdateFieldSet(CContactItemFieldSet *)
CContactItem::~CContactItem()

Detailed 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.

Constructor & Destructor Documentation

CContactItemPlusGroup ( )

CContactItemPlusGroup()[protected]

~CContactItemPlusGroup ( )

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.

Member Function Documentation

ExternalizeL ( RWriteStream & )

voidExternalizeL(RWriteStream &aStream)const [virtual]

Externalises a CContactItemPlusGroup object to a write stream.

Parameters
aStreamStream to which the object should be externalised.

GroupsJoined ( )

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.

Return Value
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

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

Return Value
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.

InternalizeL ( RReadStream & )

voidInternalizeL(RReadStream &aStream)[virtual]

Internalises a CContactItemPlusGroup object from a read stream.

Parameters
aStreamStream from which the object should be internalised.

ResetGroups ( )

IMPORT_C voidResetGroups()

Resets groups.

SetGroups ( CContactIdArray * )

IMPORT_C voidSetGroups(CContactIdArray *aGroups)

Sets groups.