CartoType API
Classes | Public Member Functions
CartoType::CType1MapDataContext Class Reference

#include <cartotype_type1_map_data_context.h>

Inheritance diagram for CartoType::CType1MapDataContext:
CartoType::CMapDataContext

List of all members.

Classes

class  TLayerContext

Public Member Functions

 CType1MapDataContext (CType1MapDataBase &aDataBase, TDataInputStream &aReader)
TResult OnSearch ()
CMapObjectNext (TResult &aError, CMapObject *aOldMapObject=NULL)
const CMapDataLayerLayer () const

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files: