alaCarte Maps
Renderer for OpenStreetMap tiles
Selector Class Referenceabstract

#include <selector.hpp>

Inheritance diagram for Selector:
ApplySelector AreaSelector ChildNodesSelector ChildWaysSelector HasNotTagSelector HasTagSelector LineSelector TagEqualsSelector TagLargerEqualsSelector TagLargerSelector TagMatchesSelector TagSmallerEqualsSelector TagSmallerSelector TagUnequalsSelector

Public Member Functions

 Selector (const shared_ptr< Rule > &rule, const shared_ptr< Selector > &next)
 This file is part of alaCarte. More...
 
virtual void matchNode (NodeId nodeID, const shared_ptr< TileIdentifier > &ti, RenderAttributes *attributes) const =0
 
virtual void matchWay (WayId wayID, const shared_ptr< TileIdentifier > &ti, RenderAttributes *attributes) const =0
 
virtual void matchRelation (RelId relID, const shared_ptr< TileIdentifier > &ti, RenderAttributes *attributes) const =0
 

Protected Attributes

const weak_ptr< Rulerule
 
const shared_ptr< Selectornext
 
const shared_ptr< Geodatageodata
 

Detailed Description

Definition at line 44 of file selector.hpp.

Constructor & Destructor Documentation

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

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 26 of file selector.cpp.

Member Function Documentation

Member Data Documentation

const shared_ptr<Geodata> Selector::geodata
protected

Definition at line 55 of file selector.hpp.

const shared_ptr<Selector> Selector::next
protected

Definition at line 54 of file selector.hpp.

const weak_ptr<Rule> Selector::rule
protected

Definition at line 53 of file selector.hpp.


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