CMTPReferenceMgr Class Reference
class CMTPReferenceMgr : public CBase |
Implements the MTP reference manager interface.
Constructor & Destructor Documentation
CMTPReferenceMgr(CMTPObjectStore &)
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
second-phase construction
- leave
- One of the system wide error codes, if a processing failure occurs.
CreateIndexL()
void | CreateIndexL | ( | ) | [private] |
Create the index in the reference table
- leave
- One of the system wide error codes, if a processing failure occurs.
CreateTableL()
void | CreateTableL | ( | ) | [private] |
Create the reference table in the database
- leave
- One of the system wide error codes, if a processing failure occurs.
GetReferencesInDesLC(TUint)
Get reference on the object identified by aIdentifier
- leave
- One of the system wide error codes, if a processing failure occurs.
GetReferencesL(TUint, RArray< TUint > &)
Get references on the object identified by aIdentifier
- leave
- One of the system wide error codes, if a processing failure occurs.
GetReferencesLC(TUint)
Get reference on the object identified by aIdentifier
- leave
- One of the system wide error codes, if a processing failure occurs.
IncTranOpsNumL()
void | IncTranOpsNumL | ( | ) | [private] |
ReferencesLC(const TMTPTypeUint32 &)
Provides an MTP array of the target object handles which are referenced by the specified source object handle. A pointer to the MTP array is placed on the cleanup stack.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
const TMTPTypeUint32 & aFromHandle | The MTP object handle of the source object from which the references originate. |
ReferencesLC(const TDesC &)
Provides an SUID array of the target object SUIDs which are referenced by the specified source object SUID. A pointer to the SUID array is placed on the cleanup stack.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
const TDesC & aParentSuid | |
RemoveReferencesL(TUint)
void | RemoveReferencesL | ( | TUint | aHandle | ) | |
Remove reference on the object identified by aIdentifier
- leave
- One of the system wide error codes, if a processing failure occurs.
RemoveReferencesL(const TDesC &)
void | RemoveReferencesL | ( | const TDesC & | aSuid | ) | |
Removes all object reference links in which the specified SUID represents either the source or target reference object.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
const TDesC & aSuid | The object SUID. |
SetReferenceL(const TDesC &, const TDesC &)
void | SetReferenceL | ( | const TDesC & | aFromSuid, |
| const TDesC & | aToSuid |
| ) | |
Creates an abstract reference linkage between the specified source and target object SUIDs.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
const TDesC & aFromSuid | The SUID of the source object from which the reference originates. param aToSuid The SUID of the target object to which the reference is made. |
const TDesC & aToSuid | |
SetReferenceL(TUint, TUint)
void | SetReferenceL | ( | TUint | aHandle, |
| TUint | aToHandles |
| ) | [private] |
Set reference on the object identified by aFromIdentifier
- leave
- One of the system wide error codes, if a processing failure occurs.
SetReferencesL(const TDesC &, const CDesCArray &)
Replaces the abstract reference links originating from the specified source object handle with the specified set of target object SUIDs.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
const TDesC & aParentSuid | |
const CDesCArray & aToSuids | The reference target MTP object SUID array. |
SetReferencesL(const TMTPTypeUint32 &, const CMTPTypeArray &)
Replaces the abstract reference links originating from the specified source object handle with the specified set of target object handles.
- leave
- One of the system wide error codes, if a processing failure occurs.
Parameters
const TMTPTypeUint32 & aFromHandle | The handle of the source object from which the references originate. |
const CMTPTypeArray & aToHandles | The reference target object handle array. |
SetReferencesL(TUint, const RArray< TUint > &)
Set references on the object identified by aFromIdentifier
- leave
- One of the system wide error codes, if a processing failure occurs.
Member Data Documentation
CMTPObjectStore & iObjectStore
TBuf< KMTPMaxSqlStatementLen > iSqlStatement
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.