RDbStoreDatabase Class Reference

class RDbStoreDatabase : public RDbDatabase

DBMS Store database implementation

Inherits from

  • RDbStoreDatabase

    Member Functions Documentation

    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.
    RDbNamedDatabase

    Parameters

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

    DecompressL(CStreamStore &, TStreamId)

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

    Parameters

    CStreamStore & aStore
    TStreamId aId

    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.
    RDbStoreDatabase::CreateL(CStreamStore* aStore) RDbNamedDatabase

    Parameters

    CStreamStore * aStoreThe stream store object, where the database is located.
    TStreamId anIdThe id of the root stream of the database.