libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::StyleSelector< S, A > Struct Template Reference

Correlation of a StyleFilter and a PartialStyle. More...

#include <StyleConfig.h>

Public Member Functions

 StyleSelector (const StyleFilter &filter, const PartialStyle< S, A > &style)
 

Public Attributes

std::set< A > attributes
 
StyleCriteria criteria
 
std::shared_ptr< S > style
 

Detailed Description

template<class S, class A>
struct osmscout::StyleSelector< S, A >

Correlation of a StyleFilter and a PartialStyle.

For an object (node, way, area) all ConditionalStyle styles matching the criteria are summed up to build the final style attribute set.

Constructor & Destructor Documentation

template<class S, class A>
osmscout::StyleSelector< S, A >::StyleSelector ( const StyleFilter filter,
const PartialStyle< S, A > &  style 
)
inline

Member Data Documentation

template<class S, class A>
std::set<A> osmscout::StyleSelector< S, A >::attributes
template<class S, class A>
StyleCriteria osmscout::StyleSelector< S, A >::criteria
template<class S, class A>
std::shared_ptr<S> osmscout::StyleSelector< S, A >::style

The documentation for this struct was generated from the following file: