CContactCard Class Reference

#include <app/cntitem.h>

class CContactCard : public CContactItemPlusGroup, public CContactItemPlusGroup
Public Member Functions
~CContactCard()
IMPORT_C CContactIdArray *GroupsJoinedLC()
IMPORT_C CContactCard *NewL()
IMPORT_C CContactCard *NewL(const CContactItem *)
IMPORT_C CContactCard *NewLC()
IMPORT_C CContactCard *NewLC(const CContactItem *)
virtual IMPORT_C TUidType()
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::UidStringL(TInt64)const
CContactItem::UpdateFieldSet(CContactItemFieldSet *)
CContactItem::~CContactItem()
CContactItemPlusGroup::CContactItemPlusGroup()
CContactItemPlusGroup::ExternalizeL(RWriteStream &)const
CContactItemPlusGroup::GroupsJoined()const
CContactItemPlusGroup::InternalizeL(RReadStream &)
CContactItemPlusGroup::ResetGroups()
CContactItemPlusGroup::SetGroups(CContactIdArray *)
CContactItemPlusGroup::~CContactItemPlusGroup()

Detailed Description

A contact card.

Implements the Type() function declared in class CContactItem. Contact cards may optionally be constructed from a template.

Constructor & Destructor Documentation

~CContactCard ( )

IMPORT_C~CContactCard()

Frees all resources owned by the contact card, prior to its destruction.

Member Function Documentation

GroupsJoinedLC ( )

IMPORT_C CContactIdArray *GroupsJoinedLC()const

Reimplemented from CContactItemPlusGroup::GroupsJoinedLC()const

Returns a pointer to a list of contact item IDs which identify the groups to which this contact card belongs.

Return Value
A pointer to a copy of the array of groups IDs to which this contact card belongs. This array is empty if the card is not a member of any groups. The caller takes ownership of this object, so is responsible for its deletion.

NewL ( )

IMPORT_C CContactCard *NewL()[static]

Allocates and constructs a new contact card.

Return Value
Pointer to the newly created contact card.

NewL ( const CContactItem * )

IMPORT_C CContactCard *NewL(const CContactItem *aTemplate)[static]

Allocates and constructs a new contact card whose field set is seeded from a template.

Parameters
aTemplatePointer to the template whose field set and field data are copied into the new contact card.
Return Value
Pointer to the newly created contact card.

NewLC ( )

IMPORT_C CContactCard *NewLC()[static]

Allocates and constructs a new contact card.

Return Value
Pointer to the newly created contact card. This is left on the cleanup stack.

NewLC ( const CContactItem * )

IMPORT_C CContactCard *NewLC(const CContactItem *aTemplate)[static]

Allocates and constructs a new contact card whose field set is seeded from a template.

Parameters
aTemplatePointer to the template whose field set and field data are copied into the new contact card.
Return Value
Pointer to the newly created contact card. This is left on the cleanup stack.

Type ( )

IMPORT_C TUidType()const [virtual]

Reimplemented from CContactItem::Type()const

Implements CContactItem::Type().

Return Value
KUidContactCard.