alaCarte Maps
Renderer for OpenStreetMap tiles
mapcss_def.hpp File Reference
#include "settings.hpp"
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/fusion/include/vector.hpp>
#include <boost/variant/variant.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/qi_grammar.hpp>
#include <boost/spirit/include/qi_real.hpp>
#include <boost/spirit/include/qi_symbols.hpp>
#include <boost/spirit/include/qi_stream.hpp>
#include <boost/spirit/include/qi_uint.hpp>
#include <boost/spirit/include/classic_position_iterator.hpp>
#include "parse_info.hpp"

Go to the source code of this file.

Namespaces

 obj
 
 op
 
 unit
 
 attr
 

Macros

#define MAPCSS_DEF_HPP
 This file is part of alaCarte. More...
 

Typedefs

typedef shared_ptr< StylesheetStylesheetPtr
 Shortcut for a shared pointer to stylesheet. More...
 
typedef shared_ptr< RuleRulePtr
 Shortcut for a shared pointer to rule. More...
 
typedef shared_ptr< SelectorSelectorPtr
 Shortcut for a shared pointer to the base of all selectors. More...
 
typedef shared_ptr< ApplySelectorApplySelectorPtr
 Shortcut for a shared pointer to thr apply selector. More...
 
typedef shared_ptr< StyleTemplateStylePtr
 Shortcut for a shared pointer to style. More...
 
typedef std::string::const_iterator StringIterator
 Iterator to iterate over a file. More...
 
typedef classic::position_iterator2< StringIteratorGrammarIterator
 Iterator wrapping the file iterator and to be used in all grammars. More...
 

Enumerations

enum  obj::ObjectTypeEnum {
  obj::Node, obj::Way, obj::Relation, obj::Area,
  obj::Line, obj::Any
}
 Enum with object selectors. More...
 
enum  op::BinaryTypesEnum {
  op::Equal, op::Unequal, op::SameAs, op::LessThen,
  op::GreaterThen, op::LessEqual, op::GreaterEqual
}
 Enum with binary operators used in selectors. More...
 
enum  op::UnaryTypesEnum { op::HasTag, op::Not, op::Minus }
 Enum with unary operators used in selectors. More...
 
enum  unit::UnitTypesEnum { unit::Pixel, unit::Points, unit::Percent }
 Contains all the units available for numeric values. More...
 
enum  attr::AttributeTypesEnum {
  attr::FillColor, attr::ZIndex, attr::Width, attr::Color,
  attr::CasingWidth, attr::CasingColor, attr::FontSize, attr::TextColor,
  attr::TextPosition, attr::Text, attr::IconPath, attr::IconWidth,
  attr::IconHeight
}
 Contains all the attributes, which can be specified in a styleset. More...
 

Macro Definition Documentation

#define MAPCSS_DEF_HPP

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 23 of file mapcss_def.hpp.

Typedef Documentation

typedef shared_ptr<ApplySelector> ApplySelectorPtr

Shortcut for a shared pointer to thr apply selector.

Definition at line 138 of file mapcss_def.hpp.

typedef classic::position_iterator2<StringIterator> GrammarIterator

Iterator wrapping the file iterator and to be used in all grammars.

Definition at line 148 of file mapcss_def.hpp.

typedef shared_ptr<Rule> RulePtr

Shortcut for a shared pointer to rule.

Definition at line 132 of file mapcss_def.hpp.

typedef shared_ptr<Selector> SelectorPtr

Shortcut for a shared pointer to the base of all selectors.

Definition at line 135 of file mapcss_def.hpp.

typedef std::string::const_iterator StringIterator

Iterator to iterate over a file.

Definition at line 146 of file mapcss_def.hpp.

typedef shared_ptr<StyleTemplate> StylePtr

Shortcut for a shared pointer to style.

Definition at line 141 of file mapcss_def.hpp.

typedef shared_ptr<Stylesheet> StylesheetPtr

Shortcut for a shared pointer to stylesheet.

Definition at line 126 of file mapcss_def.hpp.