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

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

#include <StyleConfig.h>

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

Public Member Functions

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

Public Attributes

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

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

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

Member Function Documentation

template<class S, class A>
void osmscout::PartialStyle< S, A >::SetBoolValue ( int  attribute,
bool  value 
)
inlinevirtual
template<class S, class A>
void osmscout::PartialStyle< S, A >::SetColorValue ( int  attribute,
const Color value 
)
inlinevirtual
template<class S, class A>
void osmscout::PartialStyle< S, A >::SetDoubleArrayValue ( int  attribute,
const std::vector< double > &  value 
)
inlinevirtual
template<class S, class A>
void osmscout::PartialStyle< S, A >::SetDoubleValue ( int  attribute,
double  value 
)
inlinevirtual
template<class S, class A>
void osmscout::PartialStyle< S, A >::SetIntValue ( int  attribute,
int  value 
)
inlinevirtual
template<class S, class A>
void osmscout::PartialStyle< S, A >::SetLabelValue ( int  attribute,
const LabelProviderRef value 
)
inlinevirtual
template<class S, class A>
void osmscout::PartialStyle< S, A >::SetMagnificationValue ( int  attribute,
const Magnification value 
)
inlinevirtual
template<class S, class A>
void osmscout::PartialStyle< S, A >::SetStringValue ( int  attribute,
const std::string &  value 
)
inlinevirtual
template<class S, class A>
void osmscout::PartialStyle< S, A >::SetSymbolValue ( int  attribute,
const SymbolRef value 
)
inlinevirtual
template<class S, class A>
void osmscout::PartialStyle< S, A >::SetUIntValue ( int  attribute,
size_t  value 
)
inlinevirtual

Member Data Documentation


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