CContactItemPlusGroup Class Reference

class CContactItemPlusGroup : public CContactItem

Abstract base class for CContactGroup , CContactCard and CContactOwnCard .

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

Inherits from

Public Member Functions
void ExternalizeL ( RWriteStream &)
IMPORT_C const CContactIdArray * GroupsJoined ()
IMPORT_C CContactIdArray * GroupsJoinedLC ()
void InternalizeL ( RReadStream &)
IMPORT_C void ResetGroups ()
IMPORT_C void SetGroups ( CContactIdArray *)
Protected Member Functions
CContactItemPlusGroup ()
~CContactItemPlusGroup ()
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()
Inherited Enumerations
CContactItem:@64
Private Attributes
CContactIdArray * iGroups

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 Functions Documentation

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const [virtual]

Externalises a CContactItemPlusGroup object to a write stream.

Parameters

RWriteStream & aStream Stream 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.

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.

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream ) [virtual]

Internalises a CContactItemPlusGroup object from a read stream.

Parameters

RReadStream & aStream Stream from which the object should be internalised.

ResetGroups()

IMPORT_C void ResetGroups ( )

Resets groups.

SetGroups(CContactIdArray *)

IMPORT_C void SetGroups ( CContactIdArray * aGroups )

Sets groups.

Parameters

CContactIdArray * aGroups

Member Data Documentation

CContactIdArray * iGroups

CContactIdArray * iGroups [private]