|
CartoType API
|
#include <cartotype_type1_map_data_context.h>
Classes | |
| class | TLayerContext |
Public Member Functions | |
| CType1MapDataContext (CType1MapDataBase &aDataBase, TDataInputStream &aReader) | |
| TResult | OnSearch () |
| CMapObject * | Next (TResult &aError, CMapObject *aOldMapObject=NULL) |
| const CMapDataLayer * | Layer () const |
Map database context for type 1 database. This class contains all state that is needed to retrieve objects, satisfying specified search criteria, sequentially from the database.
| const CMapDataLayer* CartoType::CType1MapDataContext::Layer | ( | ) | const [inline, virtual] |
Return the layer object for the current search; this gives the actual layer's name and attributes. Return NULL if no search has yet been started.
Implements CartoType::CMapDataContext.
| CMapObject * CType1MapDataContext::Next | ( | TResult & | aError, |
| CMapObject * | aOldMapObject = NULL |
||
| ) | [virtual] |
Get next map object from the map database. Traverse the recursive data structure if needed.
Implements CartoType::CMapDataContext.
| TResult CType1MapDataContext::OnSearch | ( | ) | [virtual] |
Start a search using the parameters iParam. This function must be overridden by derived classes to set up the parameters for the search. It must either ensure that Layer returns a non-null value, or return an error.
Implements CartoType::CMapDataContext.
1.7.5.1