alaCarte Maps
Renderer for OpenStreetMap tiles
TagEqualsSelector Class Reference

#include <tagequals_selector.hpp>

Inheritance diagram for TagEqualsSelector:
Selector

Public Member Functions

 TagEqualsSelector (const shared_ptr< Rule > &rule, const shared_ptr< Selector > &next, const string &tag, const string &value)
 This file is part of alaCarte. More...
 
virtual void matchNode (NodeId nodeID, const shared_ptr< TileIdentifier > &ti, RenderAttributes *attributes) const
 
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
 
- Public Member Functions inherited from Selector
 Selector (const shared_ptr< Rule > &rule, const shared_ptr< Selector > &next)
 This file is part of alaCarte. More...
 

Private Attributes

const CachedString tag
 
const CachedString value
 

Additional Inherited Members

- Protected Attributes inherited from Selector
const weak_ptr< Rulerule
 
const shared_ptr< Selectornext
 
const shared_ptr< Geodatageodata
 

Detailed Description

Definition at line 38 of file tagequals_selector.hpp.

Constructor & Destructor Documentation

TagEqualsSelector::TagEqualsSelector ( const shared_ptr< Rule > &  rule,
const shared_ptr< Selector > &  next,
const string tag,
const string value 
)

This file is part of alaCarte.

alaCarte is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

alaCarte is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with alaCarte. If not, see http://www.gnu.org/licenses/.

Copyright alaCarte 2012-2013 Simon Dreher, Florian Jacob, Tobias Kahlert, Patrick Niklaus, Bernhard Scheirle, Lisa Winter Maintainer: Florian Jacob

Definition at line 32 of file tagequals_selector.cpp.

Member Function Documentation

void TagEqualsSelector::matchNode ( NodeId  nodeID,
const shared_ptr< TileIdentifier > &  ti,
RenderAttributes attributes 
) const
virtual

Implements Selector.

Definition at line 39 of file tagequals_selector.cpp.

void TagEqualsSelector::matchRelation ( RelId  relID,
const shared_ptr< TileIdentifier > &  ti,
RenderAttributes attributes 
) const
virtual

Implements Selector.

Definition at line 55 of file tagequals_selector.cpp.

void TagEqualsSelector::matchWay ( WayId  wayID,
const shared_ptr< TileIdentifier > &  ti,
RenderAttributes attributes 
) const
virtual

Implements Selector.

Definition at line 47 of file tagequals_selector.cpp.

Member Data Documentation

const CachedString TagEqualsSelector::tag
private

Definition at line 46 of file tagequals_selector.hpp.

const CachedString TagEqualsSelector::value
private

Definition at line 47 of file tagequals_selector.hpp.


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