|
CartoType API
|
#include <cartotype_shp_map_database.h>
Public Member Functions | |
| CMapDataContext * | NewContext (TResult &aError) |
| TResult | AddLayer (CShpLayer *aLayer, const MString &aLayerName) |
| CShpLayer & | Layer (int32 aIndex) |
| TResult | SetPointFormat (TPointFormat aPointFormat) |
Static Public Member Functions | |
| static CShpMapDataBase * | New (TResult &aError, MInputStream &aInputStream, const MString &aPath, TPointFormat aPointFormat) |
Database for shape file groups.
Add a new map layer object to the database object. Take ownership of aLayer. If there is an error delete aLayer.
| CShpMapDataBase * CShpMapDataBase::New | ( | TResult & | aError, |
| MInputStream & | aInputStream, | ||
| const MString & | aPath, | ||
| TPointFormat | aPointFormat | ||
| ) | [static] |
Create new shp database from input stream.
| CMapDataContext * CShpMapDataBase::NewContext | ( | TResult & | aError | ) | [virtual] |
Return new context for searching the map database.
Implements CartoType::CMapDataBase.
1.7.5.1