HPosLmDatabaseInfo Class Reference
HPosLmDatabaseInfo
encapsulates information about a landmark database.
eposlmdbmanlib.lib
-
Since
-
S60 3.0
Constructor & Destructor Documentation
HPosLmDatabaseInfo(const TDesC &)
HPosLmDatabaseInfo
|
(
|
const
TDesC
&
|
aDatabaseUri
|
)
|
[private]
|
Parameters
const
TDesC
& aDatabaseUri
|
|
HPosLmDatabaseInfo(const HPosLmDatabaseInfo &)
Member Functions Documentation
AllocateL(const TDesC &)
TAny
*
|
AllocateL
|
(
|
const
TDesC
&
|
aDatabaseUri
|
)
|
[private, static]
|
Parameters
const
TDesC
& aDatabaseUri
|
|
BufferOffset()
TInt
|
BufferOffset
|
(
|
)
|
[private, static]
|
DatabaseDrive()
IMPORT_C
TChar
|
DatabaseDrive
|
(
|
)
|
const
|
DatabaseMedia()
IMPORT_C
TMediaType
|
DatabaseMedia
|
(
|
)
|
const
|
DatabaseUri()
IMPORT_C
TPtrC
|
DatabaseUri
|
(
|
)
|
const
|
Retrieves the database URI.
IsDefault()
IMPORT_C
TBool
|
IsDefault
|
(
|
)
|
const
|
NewL(const TDesC &)
Parameters
const
TDesC
& aDatabaseUri
|
The URI of the landmark database.
|
NewL(const HPosLmDatabaseInfo &)
Two-phased copy constructor.
NewLC(const TDesC &)
Parameters
const
TDesC
& aDatabaseUri
|
The URI of the landmark database.
|
NewLC(const HPosLmDatabaseInfo &)
Two-phased copy constructor.
Protocol()
IMPORT_C
TPtrC
|
Protocol
|
(
|
)
|
const
|
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.
SetDatabaseDrive(TChar)
void
|
SetDatabaseDrive
|
(
|
TChar
|
aDatabaseDrive
|
)
|
|
SetDatabaseUri(const TDesC &)
void
|
SetDatabaseUri
|
(
|
const
TDesC
&
|
aDatabaseUri
|
)
|
[private]
|
Parameters
const
TDesC
& aDatabaseUri
|
|
SetDefault(TBool)
void
|
SetDefault
|
(
|
TBool
|
aIsDefault
|
)
|
|
SetMediaType(TMediaType)
void
|
SetMediaType
|
(
|
TMediaType
|
aMediaType
|
)
|
|
Settings()
Retrieve a const reference to the database settings.
The const reference can be used to read the database settings.
Settings()
Retrieve a reference to the database settings.
The reference can be used to read and write to the database settings.
Size()
IMPORT_C
TInt
|
Size
|
(
|
)
|
const
|
Returns the size in bytes of this object.
operator=(const HPosLmDatabaseInfo &)
Member Data Documentation
TChar
iDatabaseDrive
TChar
|
iDatabaseDrive
|
[private]
|
TMediaType
iDatabaseMedia
TMediaType
|
iDatabaseMedia
|
[private]
|
TBool
iIsDefault
TBool
|
iIsDefault
|
[private]
|
TPosLmDatabaseSettings
iSettings
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.