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

#include <StyleConfig.h>

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

Public Member Functions

 PartialStyle ()=default
 
void SetBoolValue (int attribute, bool value) override
 
void SetColorValue (int attribute, const Color &value) override
 
void SetDoubleArrayValue (int attribute, const std::vector< double > &value) override
 
void SetDoubleValue (int attribute, double value) override
 
void SetIntValue (int attribute, int value) override
 
void SetLabelValue (int attribute, const LabelProviderRef &value) override
 
void SetMagnificationValue (int attribute, const Magnification &value) override
 
void SetStringValue (int attribute, const std::string &value) override
 
void SetSymbolValue (int attribute, const SymbolRef &value) override
 
void SetUIntValue (int attribute, size_t 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

◆ style


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