|
CartoType API
|
#include <cartotype_map_data.h>
Public Member Functions | |
| virtual CT_IMPORT CMapDataBase * | NewDataBase (TResult &aError, const MString &aFilename) |
| virtual CMapDataBase * | NewDataBase (TResult &aError, MInputStream &aInputStream)=0 |
| virtual CT_IMPORT TResult | SetPointFormat (TPointFormat aPointFormat) |
A map data accessor understands the format of a particular type of map database. It is a factory class that creates map database objects to access particular data sets.
A single map data accessor is created for each map data format.
| CT_EXPORT CMapDataBase * CMapDataAccessor::NewDataBase | ( | TResult & | aError, |
| const MString & | aFilename | ||
| ) | [virtual] |
Create a database from a filename.
Reimplemented in CartoType::CShpMapDataAccessor.
| CT_EXPORT TResult CMapDataAccessor::SetPointFormat | ( | TPointFormat | aPointFormat | ) | [virtual] |
A virtual function that allows the caller to request that map databases created by this accessor return objects in a different point format. The base implementation disallows this and returns KErrorUnimplemented.
Reimplemented in CartoType::COsmMapDataAccessor, and CartoType::CShpMapDataAccessor.
1.7.5.1