libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
StyleConfig.cpp File Reference
#include <osmscout/StyleConfig.h>
#include <string.h>
#include <set>
#include <sstream>
#include <osmscout/system/Assert.h>
#include <osmscout/util/File.h>
#include <osmscout/util/Logger.h>
#include <osmscout/oss/Parser.h>
#include <osmscout/oss/Scanner.h>

Namespaces

 osmscout
 Original source: http://code.qt.io/cgit/qt/qt.git/tree/tools/qml/qmlruntime.cpp?h=4.7#n438.
 

Functions

template<class S , class A >
void osmscout::CalculateUsedTypes (const TypeConfig &typeConfig, const std::list< ConditionalStyle< S, A > > &conditionals, size_t maxLevel, std::vector< TypeInfoSet > &typeSets)
 
template<class S , class A >
std::shared_ptr< S > osmscout::GetFeatureStyle (const StyleResolveContext &context, const std::vector< std::list< StyleSelector< S, A > > > &styleSelectors, const FeatureValueBuffer &buffer, const Projection &projection)
 Get the style data based on the given features of an object, a given style (S) and its style attributes (A). More...
 
template<class S , class A >
void osmscout::GetMaxLevelInConditionals (const std::list< ConditionalStyle< S, A > > &conditionals, size_t &maxLevel)
 
template<class S , class A >
void osmscout::SortInConditionals (const TypeConfig &typeConfig, const std::list< ConditionalStyle< S, A > > &conditionals, size_t maxLevel, std::vector< std::vector< std::list< StyleSelector< S, A > > > > &selectors)