libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::PartialStyle< S, A > Struct Template Reference

#include <libosmscout-map/include/osmscoutmap/StyleConfig.h>

Inheritance diagram for osmscout::PartialStyle< S, A >:
Collaboration diagram for osmscout::PartialStyle< S, A >:

Public Member Functions

 PartialStyle ()=default
void SetBoolValue (int attribute, bool value) override
void SetStringValue (int attribute, const std::string &value) override
void SetColorValue (int attribute, const Color &value) override
void SetMagnificationValue (int attribute, const Magnification &value) override
void SetDoubleValue (int attribute, double value) override
void SetDoubleArrayValue (int attribute, const std::vector< double > &value) override
void SetSymbolValue (int attribute, const SymbolRef &value) override
void SetIntValue (int attribute, int value) override
void SetUIntValue (int attribute, size_t value) override
void SetLabelValue (int attribute, const LabelProviderRef &value) override
Public Member Functions inherited from osmscout::PartialStyleBase
virtual ~PartialStyleBase ()=default

Public Attributes

std::set< A > attributes
std::shared_ptr< S > style =std::make_shared<S>()

Detailed Description

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

A Style together with a set of the attributes that are explicitly set in the style.

Constructor & Destructor Documentation

◆ PartialStyle()

template<class S, class A>
osmscout::PartialStyle< S, A >::PartialStyle ( )
default

Member Function Documentation

◆ SetBoolValue()

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetBoolValue ( int attribute,
bool value )
inlineoverridevirtual

◆ SetColorValue()

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetColorValue ( int attribute,
const Color & value )
inlineoverridevirtual

◆ SetDoubleArrayValue()

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetDoubleArrayValue ( int attribute,
const std::vector< double > & value )
inlineoverridevirtual

◆ SetDoubleValue()

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetDoubleValue ( int attribute,
double value )
inlineoverridevirtual

◆ SetIntValue()

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetIntValue ( int attribute,
int value )
inlineoverridevirtual

◆ SetLabelValue()

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetLabelValue ( int attribute,
const LabelProviderRef & value )
inlineoverridevirtual

◆ SetMagnificationValue()

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetMagnificationValue ( int attribute,
const Magnification & value )
inlineoverridevirtual

◆ SetStringValue()

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetStringValue ( int attribute,
const std::string & value )
inlineoverridevirtual

◆ SetSymbolValue()

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetSymbolValue ( int attribute,
const SymbolRef & value )
inlineoverridevirtual

◆ SetUIntValue()

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetUIntValue ( int attribute,
size_t value )
inlineoverridevirtual

Member Data Documentation

◆ attributes

template<class S, class A>
std::set<A> osmscout::PartialStyle< S, A >::attributes

◆ style

template<class S, class A>
std::shared_ptr<S> osmscout::PartialStyle< S, A >::style =std::make_shared<S>()

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