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

Static Public Attributes

static const char * FILE_WAYSOPT_DAT = "waysopt.dat"

Constructor & Destructor Documentation

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

References Close().

Member Function Documentation

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().

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

Member Data Documentation

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

Referenced by Open().

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