|
CartoType API
|
#include <cartotype_router.h>
Inherited by TRoadOrWalkingFilter.
Public Types | |
| enum | { ERoadInfoMask = ERoadLevelMask | ERoadTypeMask | ERoadRoutingMask, EWeightInfoMask = 0x03FF0000 } |
Public Member Functions | |
| virtual bool | UseLayer (const CMapDataLayer &aLayer)=0 |
| virtual bool | UseObject (const CMapObject &aObject, uint32 &aInfo)=0 |
A filter which tells a router which layers to load from a map database, and which objects to use. If no filter is supplied all objects in the 'road' layer are used.
| anonymous enum |
| virtual bool CartoType::Router::CMapDataRouterInfo::MFilter::UseLayer | ( | const CMapDataLayer & | aLayer | ) | [pure virtual] |
Return true if this layer contains linear objects to be used in routing.
| virtual bool CartoType::Router::CMapDataRouterInfo::MFilter::UseObject | ( | const CMapObject & | aObject, |
| uint32 & | aInfo | ||
| ) | [pure virtual] |
If this object can be used in routing, return true and set aInfo to bit fields indicating the weighting, directionality and z-level.
1.7.5.1