alaCarte Maps
Renderer for OpenStreetMap tiles
StyleTemplate Class Reference

A StyleTemplate is the "raw" / "unevaluated" form of a Style specified by a single MapCSS rule. More...

#include <style_template.hpp>

Public Member Functions

 StyleTemplate ()
 This file is part of alaCarte. More...
 

Public Attributes

shared_ptr< eval::Eval< Color > > color
 
shared_ptr< eval::Eval< Color > > fill_color
 
shared_ptr< eval::Eval< MaybeCachedString > > image
 
shared_ptr< eval::Eval< MaybeCachedString > > fill_image
 
shared_ptr< eval::Eval< float > > width
 
shared_ptr< eval::Eval< float > > casing_width
 
shared_ptr< eval::Eval< Color > > casing_color
 
shared_ptr< eval::Eval< MaybeCachedString > > text
 
shared_ptr< eval::Eval< Style::TextPosition > > text_position
 
shared_ptr< eval::Eval< Color > > text_color
 
shared_ptr< eval::Eval< float > > text_offset
 
shared_ptr< eval::Eval< float > > font_size
 
shared_ptr< eval::Eval< MaybeCachedString > > font_family
 
shared_ptr< eval::Eval< Style::FontWeight > > font_weight
 
shared_ptr< eval::Eval< Style::FontStyle > > font_style
 
shared_ptr< eval::Eval< Color > > text_halo_color
 
shared_ptr< eval::Eval< float > > text_halo_radius
 
shared_ptr< eval::Eval< MaybeCachedString > > icon_image
 
shared_ptr< eval::Eval< float > > icon_width
 
shared_ptr< eval::Eval< float > > icon_height
 
shared_ptr< eval::Eval< float > > icon_opacity
 
shared_ptr< eval::Eval< Color > > shield_color
 
shared_ptr< eval::Eval< float > > shield_opacity
 
shared_ptr< eval::Eval< Color > > shield_frame_color
 
shared_ptr< eval::Eval< float > > shield_frame_width
 
shared_ptr< eval::Eval< Color > > shield_casing_color
 
shared_ptr< eval::Eval< float > > shield_casing_width
 
shared_ptr< eval::Eval< MaybeCachedString > > shield_text
 
shared_ptr< eval::Eval< MaybeCachedString > > shield_image
 
shared_ptr< eval::Eval< Style::ShieldShape > > shield_shape
 
shared_ptr< eval::Eval< int > > z_index
 
shared_ptr< eval::Eval< Style::LineCap > > linecap
 
shared_ptr< eval::Eval< Style::LineJoin > > linejoin
 
shared_ptr< eval::Eval< Style::LineCap > > casing_linecap
 
shared_ptr< eval::Eval< Style::LineJoin > > casing_linejoin
 
shared_ptr< eval::Eval< std::vector< double > > > dashes
 
shared_ptr< eval::Eval< std::vector< double > > > casing_dashes
 

Detailed Description

A StyleTemplate is the "raw" / "unevaluated" form of a Style specified by a single MapCSS rule.

When the selector for the rule matches, style.overmerge(styletemplate) is called to merge the new Style into the current interim result.

Definition at line 42 of file style_template.hpp.

Constructor & Destructor Documentation

StyleTemplate::StyleTemplate ( )

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: Tobias Kahlert

Definition at line 28 of file style_template.cpp.

Member Data Documentation

shared_ptr< eval::Eval<Color> > StyleTemplate::casing_color

Definition at line 56 of file style_template.hpp.

shared_ptr< eval::Eval<std::vector<double> > > StyleTemplate::casing_dashes

Definition at line 94 of file style_template.hpp.

shared_ptr< eval::Eval<Style::LineCap> > StyleTemplate::casing_linecap

Definition at line 90 of file style_template.hpp.

shared_ptr< eval::Eval<Style::LineJoin> > StyleTemplate::casing_linejoin

Definition at line 91 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::casing_width

Definition at line 55 of file style_template.hpp.

shared_ptr< eval::Eval<Color> > StyleTemplate::color

Definition at line 48 of file style_template.hpp.

shared_ptr< eval::Eval<std::vector<double> > > StyleTemplate::dashes

Definition at line 93 of file style_template.hpp.

shared_ptr< eval::Eval<Color> > StyleTemplate::fill_color

Definition at line 49 of file style_template.hpp.

shared_ptr< eval::Eval<MaybeCachedString> > StyleTemplate::fill_image

Definition at line 52 of file style_template.hpp.

shared_ptr< eval::Eval<MaybeCachedString> > StyleTemplate::font_family

Definition at line 63 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::font_size

Definition at line 62 of file style_template.hpp.

shared_ptr< eval::Eval<Style::FontStyle> > StyleTemplate::font_style

Definition at line 65 of file style_template.hpp.

shared_ptr< eval::Eval<Style::FontWeight> > StyleTemplate::font_weight

Definition at line 64 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::icon_height

Definition at line 72 of file style_template.hpp.

shared_ptr< eval::Eval<MaybeCachedString> > StyleTemplate::icon_image

Definition at line 70 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::icon_opacity

Definition at line 73 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::icon_width

Definition at line 71 of file style_template.hpp.

shared_ptr< eval::Eval<MaybeCachedString> > StyleTemplate::image

Definition at line 51 of file style_template.hpp.

shared_ptr< eval::Eval<Style::LineCap> > StyleTemplate::linecap

Definition at line 88 of file style_template.hpp.

shared_ptr< eval::Eval<Style::LineJoin> > StyleTemplate::linejoin

Definition at line 89 of file style_template.hpp.

shared_ptr< eval::Eval<Color> > StyleTemplate::shield_casing_color

Definition at line 79 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::shield_casing_width

Definition at line 80 of file style_template.hpp.

shared_ptr< eval::Eval<Color> > StyleTemplate::shield_color

Definition at line 75 of file style_template.hpp.

shared_ptr< eval::Eval<Color> > StyleTemplate::shield_frame_color

Definition at line 77 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::shield_frame_width

Definition at line 78 of file style_template.hpp.

shared_ptr< eval::Eval<MaybeCachedString> > StyleTemplate::shield_image

Definition at line 83 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::shield_opacity

Definition at line 76 of file style_template.hpp.

shared_ptr< eval::Eval<Style::ShieldShape> > StyleTemplate::shield_shape

Definition at line 84 of file style_template.hpp.

shared_ptr< eval::Eval<MaybeCachedString> > StyleTemplate::shield_text

Definition at line 82 of file style_template.hpp.

shared_ptr< eval::Eval<MaybeCachedString> > StyleTemplate::text

Definition at line 58 of file style_template.hpp.

shared_ptr< eval::Eval<Color> > StyleTemplate::text_color

Definition at line 60 of file style_template.hpp.

shared_ptr< eval::Eval<Color> > StyleTemplate::text_halo_color

Definition at line 67 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::text_halo_radius

Definition at line 68 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::text_offset

Definition at line 61 of file style_template.hpp.

shared_ptr< eval::Eval<Style::TextPosition> > StyleTemplate::text_position

Definition at line 59 of file style_template.hpp.

shared_ptr< eval::Eval<float> > StyleTemplate::width

Definition at line 54 of file style_template.hpp.

shared_ptr< eval::Eval<int> > StyleTemplate::z_index

Definition at line 86 of file style_template.hpp.


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