libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::StyleConstantWidth Class Referencefinal

#include <StyleConfig.h>

+ Inheritance diagram for osmscout::StyleConstantWidth:

Public Types

enum  Unit { Unit::m, Unit::mm }
 

Public Member Functions

Unit GetUnit () const
 
double GetWidth () const
 
 StyleConstantWidth (double value, Unit unit)
 
- Public Member Functions inherited from osmscout::StyleConstant
 StyleConstant ()=default
 
virtual ~StyleConstant ()=default
 

Member Enumeration Documentation

◆ Unit

Enumerator
mm 

Constructor & Destructor Documentation

◆ StyleConstantWidth()

osmscout::StyleConstantWidth::StyleConstantWidth ( double  value,
Unit  unit 
)
explicit

Member Function Documentation

◆ GetUnit()

Unit osmscout::StyleConstantWidth::GetUnit ( ) const
inline

◆ GetWidth()

double osmscout::StyleConstantWidth::GetWidth ( ) const
inline

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