libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::Magnification Class Reference

#include <Magnification.h>

Public Types

enum  Mag {
  magWorld = 1, magContinent = 16, magState = 32, magStateOver = 64,
  magCounty = 128, magRegion = 256, magProximity = 512, magCityOver = 1024,
  magCity = 2*1024, magSuburb = 2*2*1024, magDetail = 2*2*2*1024, magClose = 2*2*2*2*1024,
  magCloser = 2*2*2*2*2*1024, magVeryClose = 2*2*2*2*2*2*1024, magBlock = 2*2*2*2*2*2*2*2*1024, magStreet = 2*2*2*2*2*2*2*2*2*1024,
  magHouse = 2*2*2*2*2*2*2*2*2*2*1024
}
 

Public Member Functions

uint32_t GetLevel () const
 
double GetMagnification () const
 
 Magnification ()
 
 Magnification (const Magnification &other)
 
 Magnification (double magnification)
 
bool operator!= (const Magnification &other) const
 
bool operator< (const Magnification &other) const
 
bool operator<= (const Magnification &other) const
 
const Magnificationoperator= (const Magnification &other)
 
bool operator== (const Magnification &other) const
 
bool operator> (const Magnification &other) const
 
bool operator>= (const Magnification &other) const
 
void SetLevel (uint32_t level)
 
void SetMagnification (double magnification)
 
void SetMagnification (Mag magnification)
 

Member Enumeration Documentation

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

Constructor & Destructor Documentation

osmscout::Magnification::Magnification ( )
inline
osmscout::Magnification::Magnification ( const Magnification other)
inline
osmscout::Magnification::Magnification ( double  magnification)
inline

Member Function Documentation

bool osmscout::Magnification::operator!= ( const Magnification other) const
inline
bool osmscout::Magnification::operator< ( const Magnification other) const
inline
bool osmscout::Magnification::operator<= ( const Magnification other) const
inline
const Magnification& osmscout::Magnification::operator= ( const Magnification other)
inline
bool osmscout::Magnification::operator== ( const Magnification other) const
inline
bool osmscout::Magnification::operator> ( const Magnification other) const
inline
bool osmscout::Magnification::operator>= ( const Magnification other) const
inline
void osmscout::Magnification::SetMagnification ( double  magnification)
void osmscout::Magnification::SetMagnification ( Mag  magnification)

References log2().


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