RDbStoreDatabase Class Reference

#include <d32dbms.h>

class RDbStoreDatabase : public RDbDatabase

Inherits from

Detailed Description

DBMS Store database implementation

Member Function Documentation

CompressL ( CStreamStore &, TStreamId )

IMPORT_C voidCompressL(CStreamStore &aStore,
TStreamIdaId
)[static]

CreateL ( CStreamStore * )

IMPORT_C TStreamIdCreateL(CStreamStore *aStore)

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;
leave
System-wide or database specific error codes.

See also: RDbNamedDatabase

ParameterDescription
aStoreThe stream store object, where the database will be created.

Returns: The id of the root stream of the created database.

DecompressL ( CStreamStore &, TStreamId )

IMPORT_C voidDecompressL(CStreamStore &aStore,
TStreamIdaId
)[static]

OpenL ( CStreamStore *, TStreamId )

IMPORT_C voidOpenL(CStreamStore *aStore,
TStreamIdanId
)

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;
leave
System-wide or database specific error codes.

See also: RDbStoreDatabase::CreateL(CStreamStore* aStore) RDbNamedDatabase

ParameterDescription
aStoreThe stream store object, where the database is located.
anIdThe id of the root stream of the database.