libosmscout  0.1
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, bool memoryMappedData)
 
 OptimizeWaysLowZoom ()
 
virtual ~OptimizeWaysLowZoom ()
 

Static Public Attributes

static const char *const FILE_WAYSOPT_DAT = "waysopt.dat"
 

Constructor & Destructor Documentation

◆ OptimizeWaysLowZoom()

osmscout::OptimizeWaysLowZoom::OptimizeWaysLowZoom ( )

◆ ~OptimizeWaysLowZoom()

osmscout::OptimizeWaysLowZoom::~OptimizeWaysLowZoom ( )
virtual

References Close().

Member Function Documentation

◆ Close()

◆ GetTypes()

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::TypeInfoSet::Clear(), osmscout::Magnification::GetLevel(), osmscout::TypeInfoSet::IsSet(), and osmscout::TypeInfoSet::Set().

◆ GetWays()

◆ HasOptimizations()

bool osmscout::OptimizeWaysLowZoom::HasOptimizations ( double  magnification) const

◆ Open()

Member Data Documentation

◆ FILE_WAYSOPT_DAT

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

Referenced by Open().


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