libosmscout 0.1
Loading...
Searching...
No Matches
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.
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()

bool osmscout::OptimizeWaysLowZoom::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::TypeInfoSet::IsSet(), and osmscout::TypeInfoSet::Set().

◆ GetWays()

bool osmscout::OptimizeWaysLowZoom::GetWays ( const GeoBox & boundingBox,
const Magnification & magnification,
const TypeInfoSet & wayTypes,
std::vector< WayRef > & ways,
TypeInfoSet & loadedWayTypes ) const

◆ HasOptimizations()

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

◆ Open()

bool osmscout::OptimizeWaysLowZoom::Open ( const TypeConfigRef & typeConfig,
const std::string & path,
bool memoryMappedData )

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: