CMTPPkgIDStore Class Reference

class CMTPPkgIDStore : public CBase

Mapping of Installed data provider <sis package id, dp id>

Inherits from

Constructor & Destructor Documentation

CMTPPkgIDStore(RDbDatabase &)

CMTPPkgIDStore(RDbDatabase &aDatabase)[private]

Standard c++ constructor

Parameters

RDbDatabase & aDatabase

~CMTPPkgIDStore()

~CMTPPkgIDStore()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Second phase constructor.

CreatePkgIDStoreTableL()

voidCreatePkgIDStoreTableL()[private]

Create table to store the mapping from object handle to other properties (data provider id, storage id, formatcode, etc.)

DPIDL()

const RArray< TUint > &DPIDL()const

InsertPkgIdL(TUint, TUint)

voidInsertPkgIdL(TUintaDpId,
TUintaPkgId
)

Parameters

TUint aDpId
TUint aPkgId

NewL(RDbDatabase &)

CMTPPkgIDStore *NewL(RDbDatabase &aDatabase)[static]

Two-phase construction

Parameters

RDbDatabase & aDatabaseThe reference to the database object

PKGIDL(TUint)

TUint PKGIDL(TUintaIndex)const

Parameters

TUint aIndex

RemoveL(TUint)

TInt RemoveL(TUintaDpId)

Parameters

TUint aDpId

Member Enumerations Documentation

Enum TPkgIDStore

Enumerators

EPkgIDStoreDataProviderId = 1
EPkgIDStorePKGID = 2

Member Data Documentation

RArray< TUint > iDPIDs

RArray< TUint >iDPIDs[private]

RDbDatabase & iDatabase

RDbDatabase &iDatabase[private]

RArray< TUint > iPkgIDs

RArray< TUint >iPkgIDs[private]

TBuf< KMTPMaxSqlStatementLen > iSqlStatement

TBuf< KMTPMaxSqlStatementLen >iSqlStatement[private]