Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: D32DBMS.H
Link against: edbms.lib

Class RDbStoreDatabase

class RDbStoreDatabase : public RDbDatabase;

Description

DBMS Store database implementation

Derivation

Members

Defined in RDbStoreDatabase:
CompressL(), CreateL(), DecompressL(), OpenL()

Inherited from RDbDatabase:
AlterTable(), Begin(), Close(), ColSetL(), Commit(), Compact(), CreateIndex(), CreateTable(), Destroy(), DropIndex(), DropTable(), Execute(), InTransaction(), IndexNamesL(), IsDamaged(), KeyL(), Recover(), Rollback(), Size(), TSize, TableNamesL(), UpdateStats(), iDatabase


Member functions


CreateL()

IMPORT_C TStreamId CreateL(CStreamStore *aStore);

Description

Creates a new non-secure, non-shareable database, which will be located in a stream store.

Note: RDbNamedDatabase should always be the preferred choice, except the following two cases:

 - your intention is to create, fill and then compress a database, which will be used only in a read-only mode;
 - your intention is to create a database in a stream store, which stream store will be used for storing
   some additional, non-database data;

Parameters

CStreamStore *aStore

The stream store object, where the database will be created.

Return value

TStreamId

The id of the root stream of the created database.

Leave codes

System-wide

or database specific error codes.

See also:


OpenL()

IMPORT_C void OpenL(CStreamStore *aStore, TStreamId anId);

Description

Opens an existing non-secure, non-shareable database, which is located in a stream store.

Note: RDbNamedDatabase should always be the preferred choice, except the following two cases:

 - your intention is to create, fill and then compress a database, which will be used only in a read-only mode;
 - your intention is to create a database in a stream store, which stream store will be used for storing
   some additional, non-database data;

Parameters

CStreamStore *aStore

The stream store object, where the database is located.

TStreamId anId

The id of the root stream of the database.

Leave codes

System-wide

or database specific error codes.

See also:


CompressL()

static IMPORT_C void CompressL(CStreamStore &aStore, TStreamId aId);

Description

Parameters

CStreamStore &aStore

TStreamId aId


DecompressL()

static IMPORT_C void DecompressL(CStreamStore &aStore, TStreamId aId);

Description

Parameters

CStreamStore &aStore

TStreamId aId