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)

void SetCategory ( TUid aCategory )
Setter for the category Uid of the item
Since
S60 3.1

Parameters

TUid aCategory identifier of the category

SetCommitState(TCommitState)

void SetCommitState ( TCommitState aState )
Setter for the commitment state
Since
S60 3.1

Parameters

TCommitState aState commitment state

SetDomain(TUid)

void SetDomain ( TUid aDomain )
Setter for the domain Uid of the item
Since
S60 3.1

Parameters

TUid aDomain identifier of the domain

SetId(TInt)

void SetId ( TInt aId )
Setter for Id of the item
Since
S60 3.1

Parameters

TInt aId id of the item

SetParameterDataL(const TDesC8 &)

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

Parameters

const TDesC8 & aData reference to data buffer

SetSecureId(TSecureId)

void SetSecureId ( TSecureId aSecureId )
Setter for the secure id
Since
S60 3.1

Parameters

TSecureId aSecureId secure id information of the registrator

SetVersion(TVersion)

void SetVersion ( TVersion aVersion )
Setter for the item version
Since
S60 3.1

Parameters

TVersion aVersion indicating 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