CItem Class Reference

class CItem : public CBase

Class to contain item information (pure virtual)

Since
S60 3.1

Inherits from

Constructor & Destructor Documentation

CItem()

CItem()[protected]

C++ default constructor.

~CItem()

~CItem()[virtual]

Destructor.

Member Functions Documentation

Category()

TUid Category()const
Getter for category Uid of the item
Since
S60 3.1

CommitState()

TCommitState CommitState()const
Getter for the commitment state
Since
S60 3.1

Domain()

TUid Domain()const
Getter for domain Uid of the item
Since
S60 3.1

Id()

TInt Id()const
Getter for Id of the item
Since
S60 3.1

ParameterData()

const TDesC8 &ParameterData()const
Getter for the parameter data
Since
S60 3.1

Policy()

TCapabilitySet Policy()const
Getter for item policy
Since
S60 3.1

SecureId()

TSecureId SecureId()const
Getter for the secure Id
Since
S60 3.1

SetCategory(TUid)

voidSetCategory(TUidaCategory)
Setter for the category Uid of the item
Since
S60 3.1

Parameters

TUid aCategoryidentifier of the category

SetCommitState(TCommitState)

voidSetCommitState(TCommitStateaState)
Setter for the commitment state
Since
S60 3.1

Parameters

TCommitState aStatecommitment state

SetDomain(TUid)

voidSetDomain(TUidaDomain)
Setter for the domain Uid of the item
Since
S60 3.1

Parameters

TUid aDomainidentifier of the domain

SetId(TInt)

voidSetId(TIntaId)
Setter for Id of the item
Since
S60 3.1

Parameters

TInt aIdid of the item

SetParameterDataL(const TDesC8 &)

voidSetParameterDataL(const TDesC8 &aData)
Setter for the parameter data
Since
S60 3.1

Parameters

const TDesC8 & aDatareference to data buffer

SetSecureId(TSecureId)

voidSetSecureId(TSecureIdaSecureId)
Setter for the secure id
Since
S60 3.1

Parameters

TSecureId aSecureIdsecure id information of the registrator

SetVersion(TVersion)

voidSetVersion(TVersionaVersion)
Setter for the item version
Since
S60 3.1

Parameters

TVersion aVersionindicating the version information

Type()

TItemType Type()const [pure virtual]
Getter for item type Pure virtual
Since
S60 3.1

Version()

TVersion Version()const
Getter for the item version
Since
S60 3.1

Member Enumerations Documentation

Enum TCommitState

Commitment state enumeration for list transaction management.

Since
S60 3.1

Enumerators

EAdded
ERemoved
ECommitted

Member Data Documentation

TUid iCategory

TUid iCategory[protected]

Category information of the item

TCommitState iCommitState

TCommitState iCommitState[protected]

Commitment state

HBufC8 * iData

HBufC8 *iData[protected]

Parameter data Own.

TUid iDomain

TUid iDomain[protected]

Domain information of the item

TInt iId

TInt iId[protected]

ID of the item

TBool iPersistent

TBool iPersistent[protected]

If item is persistent

TCapabilitySet iPolicy

TCapabilitySet iPolicy[protected]

Policy of the item

TSecureId iSecureId

TSecureId iSecureId[protected]

Secure ID of the registrator

TVersion iVersion

TVersion iVersion[protected]

Version of the item