42 if (entry != node->
getTags().end() && entry->second !=
value) {
43 next->matchNode(nodeID, ti, attributes);
50 if (entry != way->
getTags().end() && entry->second !=
value) {
51 next->matchWay(wayID, ti, attributes);
58 if (entry != relation->
getTags().end() && entry->second !=
value) {
59 next->matchRelation(relID, ti, attributes);
A RenderAttributes object contains mappings from NodeIDs and WayIDs to Style objects which define how...
TESTABLE const DataMap< CachedString, CachedString > & getTags() const
Returns a map with key-to-tag-mapping for osm-tags.
virtual void matchWay(WayId wayID, const shared_ptr< TileIdentifier > &ti, RenderAttributes *attributes) const
virtual void matchRelation(RelId relID, const shared_ptr< TileIdentifier > &ti, RenderAttributes *attributes) const
const shared_ptr< Selector > next
TagUnequalsSelector(const shared_ptr< Rule > &rule, const shared_ptr< Selector > &next, const string &tag, const string &value)
This file is part of alaCarte.
const shared_ptr< Geodata > geodata
virtual void matchNode(NodeId nodeID, const shared_ptr< TileIdentifier > &ti, RenderAttributes *attributes) const