libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::TypeDistributionDataFile Class Referencefinal

#include <libosmscout/include/osmscout/db/TypeDistributionDataFile.h>

Classes

struct  Distribution

Public Member Functions

 TypeDistributionDataFile ()
bool Load (const TypeConfig &typeConfig, const std::string &path)
bool IsLoaded () const
std::string GetFilename () const
uint32_t GetNodeCount (const TypeInfo &type) const
uint32_t GetWayCount (const TypeInfo &type) const
uint32_t GetAreaCount (const TypeInfo &type) const

Static Public Attributes

static const char *const DISTRIBUTION_DAT

Detailed Description

DataFile class for loading the bounding box of the db. The bounding box is represented by a simple GeoBox.

Constructor & Destructor Documentation

◆ TypeDistributionDataFile()

osmscout::TypeDistributionDataFile::TypeDistributionDataFile ( )

Member Function Documentation

◆ GetAreaCount()

uint32_t osmscout::TypeDistributionDataFile::GetAreaCount ( const TypeInfo & type) const
inline

◆ GetFilename()

std::string osmscout::TypeDistributionDataFile::GetFilename ( ) const
inline

◆ GetNodeCount()

uint32_t osmscout::TypeDistributionDataFile::GetNodeCount ( const TypeInfo & type) const
inline

◆ GetWayCount()

uint32_t osmscout::TypeDistributionDataFile::GetWayCount ( const TypeInfo & type) const
inline

◆ IsLoaded()

bool osmscout::TypeDistributionDataFile::IsLoaded ( ) const
inline

◆ Load()

bool osmscout::TypeDistributionDataFile::Load ( const TypeConfig & typeConfig,
const std::string & path )

Member Data Documentation

◆ DISTRIBUTION_DAT

const char* const osmscout::TypeDistributionDataFile::DISTRIBUTION_DAT
static

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