22 #ifndef MAPCSS_DEF_HPP 23 #define MAPCSS_DEF_HPP 26 #include <boost/fusion/include/adapt_struct.hpp> 27 #include <boost/fusion/include/vector.hpp> 28 #include <boost/variant/variant.hpp> 29 #include <boost/spirit/include/qi.hpp> 30 #include <boost/spirit/include/qi_grammar.hpp> 31 #include <boost/spirit/include/qi_real.hpp> 32 #include <boost/spirit/include/qi_symbols.hpp> 33 #include <boost/spirit/include/qi_stream.hpp> 34 #include <boost/spirit/include/qi_uint.hpp> 35 #include <boost/spirit/include/classic_position_iterator.hpp> 37 namespace fsio = boost::fusion;
39 namespace classic = boost::spirit::classic;
40 namespace qi = spirit::qi;
41 namespace chs = spirit::standard;
Checks if a value is recognised by a regex.
Checks if two values are equal.
Checks if a value is greater then another.
A StyleTemplate is the "raw" / "unevaluated" form of a Style specified by a single MapCSS rule...
Checks if a value is lesser than another.
shared_ptr< Selector > SelectorPtr
Shortcut for a shared pointer to the base of all selectors.
Specifies the casing width.
Checks if a geoobject has a certain tag.
shared_ptr< ApplySelector > ApplySelectorPtr
Shortcut for a shared pointer to thr apply selector.
A Stylesheet parses a given MapCSS Stylesheet file and stores the defined rules.
AttributeTypesEnum
Contains all the attributes, which can be specified in a styleset.
BinaryTypesEnum
Enum with binary operators used in selectors.
shared_ptr< Rule > RulePtr
Shortcut for a shared pointer to rule.
classic::position_iterator2< StringIterator > GrammarIterator
Iterator wrapping the file iterator and to be used in all grammars.
shared_ptr< StyleTemplate > StylePtr
Shortcut for a shared pointer to style.
Specifies the casing color.
A Style stores the MapCSS properties for a single Node or Way, or a Relation of type multipolygon...
UnitTypesEnum
Contains all the units available for numeric values.
Checks if a geoobject does not have a certain tag.
Selects lines (unclosed ways)
ObjectTypeEnum
Enum with object selectors.
Specifies the text to be used.
Checks if two values are not equal.
Checks if a value is lesser or equal to another.
Selects areas (closed ways)
Checks if a value is greater or equal to another.
std::string::const_iterator StringIterator
Iterator to iterate over a file.
shared_ptr< Stylesheet > StylesheetPtr
Shortcut for a shared pointer to stylesheet.
UnaryTypesEnum
Enum with unary operators used in selectors.
Specifies the text color.
Specifies the text poisition.