CMTPDPIDStore Class Reference

class CMTPDPIDStore : public CBase

Inherits from

Constructor & Destructor Documentation

CMTPDPIDStore(RDbDatabase &)

CMTPDPIDStore(RDbDatabase &aDatabase)[private]

Standard c++ constructor

Parameters

RDbDatabase & aDatabase

~CMTPDPIDStore()

~CMTPDPIDStore()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Second phase constructor.

CreateDPIDStoteTableL()

voidCreateDPIDStoteTableL()[private]

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

DPIDL(TUint32, TBool &)

TUint DPIDL(TUint32aUid,
TBool &aFlag
)const

Parameters

TUint32 aUid
TBool & aFlag

InsertDPIDObjectL(TUint, TUint)

voidInsertDPIDObjectL(TUintaDpId,
TUintaUid
)

Parameters

TUint aDpId
TUint aUid

NewL(RDbDatabase &)

CMTPDPIDStore *NewL(RDbDatabase &aDatabase)[static]

Two-phase construction

Parameters

RDbDatabase & aDatabaseThe reference to the database object

Member Enumerations Documentation

Enum TDPIDStore

Enumerators

EDPIDStoreDataProviderId = 1
EDPIDStoreUid = 2

Member Data Documentation

RArray< TInt64 > iDPIDs

RArray< TInt64 >iDPIDs[private]

RArray< TInt64 > iDPUIDs

RArray< TInt64 >iDPUIDs[private]

RDbDatabase & iDatabase

RDbDatabase &iDatabase[private]

TBuf< KMTPMaxSqlStatementLen > iSqlStatement

TBuf< KMTPMaxSqlStatementLen >iSqlStatement[private]