|
CartoType API
|
#include <cartotype_osm_attrib.h>
Public Member Functions | |
| CT_IMPORT void | Clear () |
| CT_IMPORT TResult | HandleTag (const MString &aKey, const MString &aValue, bool aInWay) |
| CT_IMPORT TResult | HandleTag (const MString &aKey, const MString &aValue, bool aInWay, const CRuleSet &aRuleSet) |
| CT_IMPORT TResult | HandleTag (const MString &aKey, const MString &aValue, bool aInWay, const CPointerArray< CRule > &aRuleArray) |
| void | SetOsmType (EOsmType aOsmType) |
| void | SetAttribLowWord (int32 aValue) |
| void | SetRoadType (uint32 aRoadType) |
Public Attributes | |
| const char * | iLayer |
| TMapObjectType | iType |
| CString | iName |
| CString | iOtherStringAttrib |
| int32 | iAttrib |
| int32 | iId |
| bool | iOneWaySet |
| CString | iProposedKey |
Information collected about an object when parsing key-value pairs in OSM data.
| CT_EXPORT TResult OsmAttrib::CObjectInfo::HandleTag | ( | const MString & | aKey, |
| const MString & | aValue, | ||
| bool | aInWay | ||
| ) |
Handle an OSM tag consisting of a key-value pair and accumulate the data in the OsmAttrib::CObjectInfo object.
| CT_EXPORT TResult OsmAttrib::CObjectInfo::HandleTag | ( | const MString & | aKey, |
| const MString & | aValue, | ||
| bool | aInWay, | ||
| const CRuleSet & | aRuleSet | ||
| ) |
Handle an OSM tag consisting of a key-value pair and accumulate the data in the OsmAttrib::CObjectInfo object. Use the supplied rule set to decide how the tag is handled.
1.7.5.1