libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::Style Class Reference

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

Inheritance diagram for osmscout::Style:

Public Member Functions

virtual ~Style ()=default
virtual void SetBoolValue (int attribute, bool value)
virtual void SetStringValue (int attribute, const std::string &value)
virtual void SetColorValue (int attribute, const Color &value)
virtual void SetMagnificationValue (int attribute, const Magnification &value)
virtual void SetDoubleValue (int attribute, double value)
virtual void SetDoubleArrayValue (int attribute, const std::vector< double > &value)
virtual void SetSymbolValue (int attribute, const SymbolRef &value)
virtual void SetIntValue (int attribute, int value)
virtual void SetUIntValue (int attribute, size_t value)
virtual void SetLabelValue (int attribute, const LabelProviderRef &value)

Detailed Description

Interface class that offers a medium generic interface for styles classes. The interface defines methods for setting index attributes to a given value.

Used by the style sheet parser. The parser uses the StyleDescriptor to get te attribute name, type and index. Attribute values are written back to the style instance using the index.

Constructor & Destructor Documentation

◆ ~Style()

virtual osmscout::Style::~Style ( )
virtualdefault

Member Function Documentation

◆ SetBoolValue()

virtual void osmscout::Style::SetBoolValue ( int attribute,
bool value )
virtual

◆ SetColorValue()

◆ SetDoubleArrayValue()

virtual void osmscout::Style::SetDoubleArrayValue ( int attribute,
const std::vector< double > & value )
virtual

◆ SetDoubleValue()

◆ SetIntValue()

virtual void osmscout::Style::SetIntValue ( int attribute,
int value )
virtual

◆ SetLabelValue()

virtual void osmscout::Style::SetLabelValue ( int attribute,
const LabelProviderRef & value )
virtual

◆ SetMagnificationValue()

virtual void osmscout::Style::SetMagnificationValue ( int attribute,
const Magnification & value )
virtual

◆ SetStringValue()

virtual void osmscout::Style::SetStringValue ( int attribute,
const std::string & value )
virtual

◆ SetSymbolValue()

virtual void osmscout::Style::SetSymbolValue ( int attribute,
const SymbolRef & value )
virtual

◆ SetUIntValue()

virtual void osmscout::Style::SetUIntValue ( int attribute,
size_t value )
virtual

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