class RDbs : public RSessionBase |
Client-server databases
Represents a session with the DBMS server. A thread uses this class to set up a DBMS server session and this provides the basis for sharing databases with other threads.
Public Member Functions | |
---|---|
IMPORT_C CDbStrings * | BackupPathsL(TSecureId, TUid) |
IMPORT_C TInt | Connect() |
IMPORT_C TInt | CopyDatabase(const TDesC &, const TDesC &, TUid) |
IMPORT_C CDbDatabaseNames * | DatabaseNamesL(TDriveNumber, TUid) |
IMPORT_C TInt | DeleteDatabase(const TDesC &, TUid) |
IMPORT_C void | FreeReservedSpace(TInt) |
IMPORT_C TInt | GetBackupPath(TSecureId, const TDesC &, TUid, TDes &) |
IMPORT_C TInt | GetDatabasePolicy(TUid, TPolicyType, TSecurityPolicy &) |
IMPORT_C TInt | GetReserveAccess(TInt) |
IMPORT_C TInt | GetTablePolicies(TUid, const TDesC &, TPolicyType, TSecurityPolicy &, TSecurityPolicy &) |
IMPORT_C TInt | GetTablePolicy(TUid, const TDesC &, TPolicyType, TSecurityPolicy &) |
IMPORT_C TInt | ReleaseReserveAccess(TInt) |
IMPORT_C TInt | ReserveDriveSpace(TInt, TInt) |
IMPORT_C void | ResourceCheck() |
IMPORT_C TInt | ResourceCount() |
IMPORT_C void | ResourceMark() |
IMPORT_C void | SetHeapFailure(TInt, TInt) |
IMPORT_C TVersion | Version() |
Private Member Functions | |
---|---|
TInt | DoConnect() |
TInt | GetPolicy(TUid, const TDesC &, TUint, TSecurityPolicy &) |
TInt | SessionMessage(TInt) |
Public Member Enumerations | |
---|---|
enum | TPolicyType { EReadPolicy, EWritePolicy, ESchemaPolicy } |
Inherited Enumerations | |
---|---|
RHandleBase:TAttributes | |
RSessionBase:TAttachMode |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
IMPORT_C CDbStrings * | BackupPathsL | ( | TSecureId | aRequesterSid, |
TUid | aDbPolicyUid | |||
) |
IMPORT_C TInt | CopyDatabase | ( | const TDesC & | aSrcDbName, |
const TDesC & | aDestDbName, | |||
TUid | aPolicyUid | |||
) |
IMPORT_C CDbDatabaseNames * | DatabaseNamesL | ( | TDriveNumber | aDrive, |
TUid | aPolicyUid | |||
) |
TDriveNumber aDrive | |
TUid aPolicyUid |
IMPORT_C TInt | DeleteDatabase | ( | const TDesC & | aDbName, |
TUid | aPolicyUid | |||
) |
IMPORT_C TInt | GetBackupPath | ( | TSecureId | aRequesterSid, |
const TDesC & | aDbName, | |||
TUid | aDbPolicyUid, | |||
TDes & | aBackupPath | |||
) |
IMPORT_C TInt | GetDatabasePolicy | ( | TUid | aPolicyUid, |
TPolicyType | aPolicyType, | |||
TSecurityPolicy & | aDbPolicy | |||
) |
TUid aPolicyUid | |
TPolicyType aPolicyType | |
TSecurityPolicy & aDbPolicy |
TInt | GetPolicy | ( | TUid | aPolicyUid, |
const TDesC & | aTableName, | |||
TUint | aMask, | |||
TSecurityPolicy & | aPolicy | |||
) | [private] |
TUid aPolicyUid | |
const TDesC & aTableName | |
TUint aMask | |
TSecurityPolicy & aPolicy |
IMPORT_C TInt | GetTablePolicies | ( | TUid | aPolicyUid, |
const TDesC & | aTableName, | |||
TPolicyType | aPolicyType, | |||
TSecurityPolicy & | aDbPolicy, | |||
TSecurityPolicy & | aTablePolicy | |||
) |
TUid aPolicyUid | |
const TDesC & aTableName | |
TPolicyType aPolicyType | |
TSecurityPolicy & aDbPolicy | |
TSecurityPolicy & aTablePolicy |
IMPORT_C TInt | GetTablePolicy | ( | TUid | aPolicyUid, |
const TDesC & | aTableName, | |||
TPolicyType | aPolicyType, | |||
TSecurityPolicy & | aTablePolicy | |||
) |
TUid aPolicyUid | |
const TDesC & aTableName | |
TPolicyType aPolicyType | |
TSecurityPolicy & aTablePolicy |