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

#include <OptimizeWaysLowZoom.h>

Public Member Functions

bool Close ()
 
void GetTypes (const Magnification &magnification, const TypeInfoSet &wayTypes, TypeInfoSet &availableWayTypes) const
 Returns the subset of types of wayTypes that can get retrieved from this index. More...
 
bool GetWays (const GeoBox &boundingBox, const Magnification &magnification, const TypeInfoSet &wayTypes, std::vector< WayRef > &ways, TypeInfoSet &loadedWayTypes) const
 
bool HasOptimizations (double magnification) const
 
bool Open (const TypeConfigRef &typeConfig, const std::string &path)
 
 OptimizeWaysLowZoom ()
 
virtual ~OptimizeWaysLowZoom ()
 

Static Public Attributes

static const char * FILE_WAYSOPT_DAT = "waysopt.dat"
 

Constructor & Destructor Documentation

osmscout::OptimizeWaysLowZoom::OptimizeWaysLowZoom ( )
osmscout::OptimizeWaysLowZoom::~OptimizeWaysLowZoom ( )
virtual

References Close().

Member Function Documentation

bool osmscout::OptimizeWaysLowZoom::Close ( )
void osmscout::OptimizeWaysLowZoom::GetTypes ( const Magnification magnification,
const TypeInfoSet &  wayTypes,
TypeInfoSet &  availableWayTypes 
) const

Returns the subset of types of wayTypes that can get retrieved from this index.

References osmscout::Magnification::GetLevel().

bool osmscout::OptimizeWaysLowZoom::GetWays ( const GeoBox &  boundingBox,
const Magnification magnification,
const TypeInfoSet &  wayTypes,
std::vector< WayRef > &  ways,
TypeInfoSet &  loadedWayTypes 
) const
bool osmscout::OptimizeWaysLowZoom::HasOptimizations ( double  magnification) const
bool osmscout::OptimizeWaysLowZoom::Open ( const TypeConfigRef typeConfig,
const std::string &  path 
)

Member Data Documentation

const char * osmscout::OptimizeWaysLowZoom::FILE_WAYSOPT_DAT = "waysopt.dat"
static

Referenced by Open().


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