API published in: S60 3rd Ed
Link against: eposlmdbmanlib.lib
LocalServices NetworkServices ReadDeviceData ReadUserData WriteDeviceData WriteUserData
#include <epos_hposlmdatabaseinfo.h>
Public Member Functions | |
| IMPORT_C TPtrC | DatabaseUri () const |
| Retrieves the database URI. | |
| IMPORT_C TPtrC | Protocol () const |
| Returns the protocol part from the URI which is set. | |
| IMPORT_C TBool | IsDefault () const |
| Returns whether the database is the default database. | |
| IMPORT_C TMediaType | DatabaseMedia () const |
| Returns which storage media the database resides in. | |
| IMPORT_C TChar | DatabaseDrive () const |
| Returns which database drive the database resides in. | |
| IMPORT_C const TPosLmDatabaseSettings & | Settings () const |
| Retrieve a const reference to the database settings. | |
| IMPORT_C TPosLmDatabaseSettings & | Settings () |
| Retrieve a reference to the database settings. | |
| IMPORT_C TInt | Size () const |
| Returns the size in bytes of this object. | |
| void | SetDefault (TBool aIsDefault) |
| void | SetMediaType (TMediaType aMediaType) |
| void | SetDatabaseDrive (TChar aDatabaseDrive) |
Static Public Member Functions | |
| static IMPORT_C HPosLmDatabaseInfo * | NewLC (const TDesC &aDatabaseUri) |
| Two-phased constructor. | |
| static IMPORT_C HPosLmDatabaseInfo * | NewL (const TDesC &aDatabaseUri) |
| Two-phased constructor. | |
| static IMPORT_C HPosLmDatabaseInfo * | NewLC (const HPosLmDatabaseInfo &aDatabaseInfo) |
| Two-phased copy constructor. | |
| static IMPORT_C HPosLmDatabaseInfo * | NewL (const HPosLmDatabaseInfo &aDatabaseInfo) |
| Two-phased copy constructor. | |
|
|
Returns which database drive the database resides in. Note: that this attribute is only set if the HPosLmDatabaseInfo instance has been returned from a CPosLmDatabaseManager function, e.g. CPosLmDatabaseManager::ListDatabasesL, CPosLmDatabaseManager::GetDatabaseInfoL, CPosLmDatabaseManager::RegisterDatabaseL, CPosLmDatabaseManager::CreateDatabaseL or CPosLmDatabaseManager::ModifyDatabaseSettingsL. If not, this function returns 0. If database drive is not applicable for the database, e.g. the database is remote, this function returns 0.
|
|
|
Returns which storage media the database resides in.
Note: this attribute is only set if the HPosLmDatabaseInfo instance has been returned from a CPosLmDatabaseManager function, e.g. CPosLmDatabaseManager::ListDatabasesL, CPosLmDatabaseManager::GetDatabaseInfoL, CPosLmDatabaseManager::RegisterDatabaseL, CPosLmDatabaseManager::CreateDatabaseL or CPosLmDatabaseManager::ModifyDatabaseSettingsL. If not, this function returns
|
|
|
Retrieves the database URI.
|
|
|
Returns whether the database is the default database.
Note: that this attribute is only set if the HPosLmDatabaseInfo instance has been returned from a CPosLmDatabaseManager function, e.g. CPosLmDatabaseManager::ListDatabasesL, CPosLmDatabaseManager::GetDatabaseInfoL, CPosLmDatabaseManager::RegisterDatabaseL, CPosLmDatabaseManager::CreateDatabaseL or CPosLmDatabaseManager::ModifyDatabaseSettingsL. If not, this function returns
|
|
|
Two-phased copy constructor.
|
|
|
Two-phased constructor.
|
|
|
Two-phased copy constructor.
|
|
|
Two-phased constructor.
|
|
|
Returns the protocol part from the URI which is set. Example: If the URI is "file://c:landmarks.ldb" then the protocol is "file". If no protocol is specified, an empty descriptor is returned. This implies "file" protocol.
|
|
|
|
|
|
Retrieve a reference to the database settings. The reference can be used to read and write to the database settings.
|
|
|
Retrieve a const reference to the database settings. The const reference can be used to read the database settings.
|
|
|
Returns the size in bytes of this object.
|