alaCarte Maps
Renderer for OpenStreetMap tiles
HasTagSelector Class Reference

#include <hastag_selector.hpp>

Inheritance diagram for HasTagSelector:
Selector

Public Member Functions

 HasTagSelector (const shared_ptr< Rule > &rule, const shared_ptr< Selector > &next, const string &tag)
 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
 

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 hastag_selector.hpp.

Constructor & Destructor Documentation

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

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 hastag_selector.cpp.

Member Function Documentation

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

Implements Selector.

Definition at line 38 of file hastag_selector.cpp.

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

Implements Selector.

Definition at line 54 of file hastag_selector.cpp.

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

Implements Selector.

Definition at line 46 of file hastag_selector.cpp.

Member Data Documentation

const CachedString HasTagSelector::tag
private

Definition at line 46 of file hastag_selector.hpp.


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