Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <D32DBMS.H>
Link against: edbms.lib

Class RDbStoreDatabase

class RDbStoreDatabase : public RDbDatabase;

Description

DBMS Store database implementation

Derivation

Members

Defined in RDbStoreDatabase:

Inherited from RDbDatabase:


Member functions


CreateL(CStreamStore *)

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(CStreamStore *,TStreamId)

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(CStreamStore &,TStreamId)

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

Description

Parameters

CStreamStore &aStore

TStreamId aId


DecompressL(CStreamStore &,TStreamId)

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

Description

Parameters

CStreamStore &aStore

TStreamId aId