libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::Mile Struct Reference

#include <Distance.h>

+ Inheritance diagram for osmscout::Mile:

Public Member Functions

class Distance Distance (double d) const override
 
std::string UnitStr () const override
 
double Value (const class Distance &d) const override
 
 ~Mile () override=default
 
- Public Member Functions inherited from osmscout::DistanceUnit
virtual ~DistanceUnit ()=default
 

Static Public Member Functions

static double FromMeter (double m)
 
static double ToMeter (double mile)
 

Constructor & Destructor Documentation

◆ ~Mile()

osmscout::Mile::~Mile ( )
overridedefault

Member Function Documentation

◆ Distance()

class Distance osmscout::Mile::Distance ( double  d) const
inlineoverridevirtual

◆ FromMeter()

static double osmscout::Mile::FromMeter ( double  m)
inlinestatic

References m.

◆ ToMeter()

static double osmscout::Mile::ToMeter ( double  mile)
inlinestatic

◆ UnitStr()

std::string osmscout::Mile::UnitStr ( ) const
inlineoverridevirtual

◆ Value()

double osmscout::Mile::Value ( const class Distance d) const
inlineoverridevirtual

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