CDscDatabase Class Reference
class CDscDatabase : public CBase |
Constructor & Destructor Documentation
Member Functions Documentation
AddItemL(CDscItem &, TDscPosition)
CleanupDatabaseRollback(TAny *)
void | CleanupDatabaseRollback | ( | TAny * | aDatabase | ) | [private, static] |
CleanupEnumRollback(TAny *)
void | CleanupEnumRollback | ( | TAny * | aDatabase | ) | [private, static] |
ConstructL()
void | ConstructL | ( | ) | [private] |
CreateDatabaseL(const TDesC &)
void | CreateDatabaseL | ( | const TDesC & | aDatabaseName | ) | [private] |
Parameters
const TDesC & aDatabaseName | |
CreateDscL(const TUid &, const TDesC &)
void | CreateDscL | ( | const TUid & | aDscId, |
| const TDesC & | aDescription |
| ) | |
Parameters
const TUid & aDscId | |
const TDesC & aDescription | |
CreateTablesL()
void | CreateTablesL | ( | ) | [private] |
DatabaseBeginLC()
void | DatabaseBeginLC | ( | ) | [private] |
DatabaseCommitL()
void | DatabaseCommitL | ( | ) | [private] |
DeleteDscL(const TUid &)
void | DeleteDscL | ( | const TUid & | aDscId | ) | |
DeleteItemL(const CDscItem &)
EnumBeginLC()
void | EnumBeginLC | ( | ) | [private] |
EnumOpenLC(const TUid &)
void | EnumOpenLC | ( | const TUid & | aDscId | ) | |
GetDatabaseNameL(TDes &)
void | GetDatabaseNameL | ( | TDes & | aDatabaseName | ) | [private, static] |
GetDscDescriptionL(const TUid &, TDes &)
void | GetDscDescriptionL | ( | const TUid & | aDscId, |
| TDes & | aDescription |
| ) | const |
GetNextItemIdL(TDscPosition, const TUid &)
Helper function. Get the next available itemId for the item. Reads all existing ItemIds for the specified DscId, then calculates last+1 or first-1 depending on aPos. Will never return 0 as its reserved to mean not yet persistent.
ItemExistsL(const CDscItem &)
MaxStringLength()
TInt
| MaxStringLength | ( | ) | [static] |
QueryItemL(RDbView &, const CDscItem &)
ReadDscItemL(RDbRowSet &, CDscItem &)
UpdateItemL(const CDscItem &)
Member Data Documentation
RDbNamedDatabase
iDatabase
RDbs
iDbsSession
RDbs
| iDbsSession | [private] |
TBool
iIsEnumOpened
TBool
| iIsEnumOpened | [private] |
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.