54 Rule(
const shared_ptr<Geodata>& geodata);
59 TESTABLE void match(
const shared_ptr<std::vector<NodeId> >& nodeIDs,
60 const shared_ptr<std::vector<WayId> >& wayIDs,
61 const shared_ptr<std::vector<RelId> >& relIDs,
62 const shared_ptr<TileIdentifier>& ti,
TESTABLE void match(const shared_ptr< std::vector< NodeId > > &nodeIDs, const shared_ptr< std::vector< WayId > > &wayIDs, const shared_ptr< std::vector< RelId > > &relIDs, const shared_ptr< TileIdentifier > &ti, RenderAttributes *renderAttributes) const
AcceptableTypes accepableType
A StyleTemplate is the "raw" / "unevaluated" form of a Style specified by a single MapCSS rule...
A RenderAttributes object contains mappings from NodeIDs and WayIDs to Style objects which define how...
TESTABLE const shared_ptr< StyleTemplate > & getStyleTemplate() const
A TileIdentifier identifies a Tile.
shared_ptr< StyleTemplate > styleTemplate
TESTABLE void setFirstSelector(const shared_ptr< Selector > &first)
what is the first selector in the selector chain for this rule?
TESTABLE const shared_ptr< Geodata > & getGeodata() const
TESTABLE void setZoomBounds(int bottom, int top)
from which to which zoom level does this rule apply?
TESTABLE void setAcceptableType(AcceptableTypes type)
what types of GeoObjects does this rule accept in the first selector?
shared_ptr< Selector > first
A Style stores the MapCSS properties for a single Node or Way, or a Relation of type multipolygon...
TESTABLE void setStyleTemplate(const shared_ptr< StyleTemplate > &styleTemplate)
sets the StyleTemplate representation of the attributes specified in the MapCSS file for this rule...
const shared_ptr< Geodata > geodata
Rule(const shared_ptr< Geodata > &geodata)
This file is part of alaCarte.