CartoType API
Public Member Functions | Public Attributes
CartoType::OsmAttrib::CObjectInfo Class Reference

#include <cartotype_osm_attrib.h>

List of all members.

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

Detailed Description

Information collected about an object when parsing key-value pairs in OSM data.


Member Function Documentation

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.


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