libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::Magnification Class Referencefinal

#include <Magnification.h>

Public Member Functions

uint32_t GetLevel () const
double GetMagnification () const
 Magnification ()=default
 Magnification (const MagnificationLevel &level) noexcept
 Magnification (double magnification) noexcept
 Create specific magnification.
bool operator!= (const Magnification &other) const
Magnification & operator++ ()
Magnification operator++ (int)
bool operator< (const Magnification &other) const
bool operator<= (const Magnification &other) const
bool operator== (const Magnification &other) const
bool operator> (const Magnification &other) const
bool operator>= (const Magnification &other) const
void SetLevel (const MagnificationLevel &level)
void SetMagnification (double magnification)
 Set magnification.

Static Public Attributes

static MagnificationLevel magBlock
static MagnificationLevel magCity
static MagnificationLevel magCityOver
static MagnificationLevel magClose
static MagnificationLevel magCloser
static MagnificationLevel magContinent
static MagnificationLevel magCounty
static MagnificationLevel magDetail
static MagnificationLevel magHouse
static MagnificationLevel magProximity
static MagnificationLevel magRegion
static MagnificationLevel magState
static MagnificationLevel magStateOver
static MagnificationLevel magStreet
static MagnificationLevel magSuburb
static MagnificationLevel magVeryClose
static MagnificationLevel magWorld

Constructor & Destructor Documentation

◆ Magnification() [1/3]

osmscout::Magnification::Magnification ( )
default

◆ Magnification() [2/3]

osmscout::Magnification::Magnification ( double magnification)
inlineexplicitnoexcept

Create specific magnification.

Parameters
magnificationvalue, have to be valid - greater or equals to 1 (magnification level >= 0)

References SetMagnification().

◆ Magnification() [3/3]

osmscout::Magnification::Magnification ( const MagnificationLevel & level)
inlineexplicitnoexcept

References SetLevel().

Member Function Documentation

◆ GetLevel()

◆ GetMagnification()

◆ operator!=()

bool osmscout::Magnification::operator!= ( const Magnification & other) const
inline

References Magnification().

◆ operator++() [1/2]

Magnification & osmscout::Magnification::operator++ ( )
inline

References Magnification().

◆ operator++() [2/2]

Magnification osmscout::Magnification::operator++ ( int )
inline

References Magnification().

◆ operator<()

bool osmscout::Magnification::operator< ( const Magnification & other) const
inline

References Magnification().

◆ operator<=()

bool osmscout::Magnification::operator<= ( const Magnification & other) const
inline

References Magnification().

◆ operator==()

bool osmscout::Magnification::operator== ( const Magnification & other) const
inline

References Magnification().

◆ operator>()

bool osmscout::Magnification::operator> ( const Magnification & other) const
inline

References Magnification().

◆ operator>=()

bool osmscout::Magnification::operator>= ( const Magnification & other) const
inline

References Magnification().

◆ SetLevel()

◆ SetMagnification()

void osmscout::Magnification::SetMagnification ( double magnification)

Set magnification.

Parameters
magnificationvalue, have to be valid - greater or equals to 1 (magnification level >= 0)

Referenced by Magnification(), and osmscout::VehicleFollowHandler::vehiclePosition().

Member Data Documentation

◆ magBlock

MagnificationLevel osmscout::Magnification::magBlock
static

◆ magCity

MagnificationLevel osmscout::Magnification::magCity
static

◆ magCityOver

MagnificationLevel osmscout::Magnification::magCityOver
static

◆ magClose

◆ magCloser

MagnificationLevel osmscout::Magnification::magCloser
static

◆ magContinent

◆ magCounty

MagnificationLevel osmscout::Magnification::magCounty
static

◆ magDetail

MagnificationLevel osmscout::Magnification::magDetail
static

◆ magHouse

MagnificationLevel osmscout::Magnification::magHouse
static

◆ magProximity

MagnificationLevel osmscout::Magnification::magProximity
static

◆ magRegion

MagnificationLevel osmscout::Magnification::magRegion
static

◆ magState

MagnificationLevel osmscout::Magnification::magState
static

◆ magStateOver

MagnificationLevel osmscout::Magnification::magStateOver
static

◆ magStreet

MagnificationLevel osmscout::Magnification::magStreet
static

◆ magSuburb

◆ magVeryClose

◆ magWorld

MagnificationLevel osmscout::Magnification::magWorld
static

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