|
libosmscout 0.1
|
#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" |
| osmscout::OptimizeWaysLowZoom::OptimizeWaysLowZoom | ( | ) |
|
virtual |
References Close().
| bool osmscout::OptimizeWaysLowZoom::Close | ( | ) |
References osmscout::IOException::GetDescription(), and osmscout::log.
Referenced by ~OptimizeWaysLowZoom().
| 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().
| 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, | ||
| bool | memoryMappedData ) |
|
static |
Referenced by Open().