CartoType API
Public Member Functions
CartoType::CSimpleMapDataSource Class Reference

#include <cartotype_map_data.h>

List of all members.

Public Member Functions

virtual TResult Search (CSimpleMapObjectCollection &aCollection, int32 aLayerIndex, double aMinLong, double aMinLat, double aMaxLong, double aMaxLat)=0
virtual int32 LayerCount ()=0
virtual const char * LayerName (int32 aLayerIndex)=0

Detailed Description

A data source for use when creating a CSimpleMapDataBase.


Member Function Documentation

virtual int32 CartoType::CSimpleMapDataSource::LayerCount ( ) [pure virtual]

Return the number of layers.

virtual const char* CartoType::CSimpleMapDataSource::LayerName ( int32  aLayerIndex) [pure virtual]

Return the name of a layer as a null-terminated UTF-8 string.

virtual TResult CartoType::CSimpleMapDataSource::Search ( CSimpleMapObjectCollection aCollection,
int32  aLayerIndex,
double  aMinLong,
double  aMinLat,
double  aMaxLong,
double  aMaxLat 
) [pure virtual]

Perform a search of the data source and add all the objects in aLayer, within or overlapping the specified bounds, to aCollection by calling CSimpleMapObjectCollection::AppendPointObject, CSimpleMapObjectCollection::AppendLineObject or CSimpleMapObjectCollection::AppendPolygonObject.


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