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>

Classes

class  osmscout::CLASS_FINAL
 Representation of an (complex/multipolygon) area. More...
 
class  osmscout::CLASS_FINAL
 Representation of an (complex/multipolygon) area. More...
 
class  osmscout::CLASS_FINAL
 Representation of an (complex/multipolygon) area. More...
 
class  osmscout::CLASS_FINAL
 Representation of an (complex/multipolygon) area. More...
 
class  osmscout::CLASS_FINAL
 Representation of an (complex/multipolygon) area. More...
 
class  osmscout::CLASS_FINAL
 Representation of an (complex/multipolygon) area. More...
 
class  osmscout::CLASS_FINAL
 Representation of an (complex/multipolygon) area. More...
 
class  osmscout::CLASS_FINAL
 Representation of an (complex/multipolygon) area. More...
 

Namespaces

 osmscout
 

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 >
void osmscout::GetFeatureStyle (const StyleResolveContext &context, const std::vector< std::list< StyleSelector< S, A > > > &styleSelectors, const FeatureValueBuffer &buffer, const Projection &projection, std::shared_ptr< S > &style)
 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)
 

Variables

static StyleDescriptorRef osmscout::borderStyleDescriptor =std::make_shared<BorderStyleDescriptor>()
 
static StyleDescriptorRef osmscout::fillStyleDescriptor =std::make_shared<FillStyleDescriptor>()
 
static StyleDescriptorRef osmscout::iconStyleDescriptor =std::make_shared<IconStyleDescriptor>()
 
static StyleDescriptorRef osmscout::lineStyleDescriptor =std::make_shared<LineStyleDescriptor>()
 
static StyleDescriptorRef osmscout::pathShieldStyleDescriptor =std::make_shared<PathShieldStyleDescriptor>()
 
static StyleDescriptorRef osmscout::pathSymbolStyleDescriptor =std::make_shared<PathSymbolStyleDescriptor>()
 
static StyleDescriptorRef osmscout::pathTextStyleDescriptor =std::make_shared<PathTextStyleDescriptor>()
 
static StyleDescriptorRef osmscout::textStyleDescriptor =std::make_shared<TextStyleDescriptor>()