| libosmscout 0.1
    | 
DataFile class for loading the bounding box of the db. More...
#include <BoundingBoxDataFile.h>
| Public Member Functions | |
| BoundingBoxDataFile () | |
| GeoBox | GetBoundingBox () const | 
| std::string | GetFilename () const | 
| bool | IsLoaded () const | 
| bool | Load (const std::string &path) | 
| Load the bounding box data and return, if this operation was successful. | |
| Static Public Attributes | |
| static const char *const | BOUNDINGBOX_DAT ="bounding.dat" | 
DataFile class for loading the bounding box of the db.
The bounding box is represented by a simple GeoBox.
| osmscout::BoundingBoxDataFile::BoundingBoxDataFile | ( | ) | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| bool osmscout::BoundingBoxDataFile::Load | ( | const std::string & | path | ) | 
Load the bounding box data and return, if this operation was successful.
| path | Directory, wehre the data file has been placed | 
References osmscout::AppendFileToDir(), BOUNDINGBOX_DAT, osmscout::FileScanner::Close(), osmscout::FileScanner::CloseFailsafe(), osmscout::Log::Debug(), osmscout::Log::Error(), osmscout::IOException::GetDescription(), osmscout::GeoBox::GetDisplayText(), osmscout::log, osmscout::FileScanner::Open(), osmscout::FileScanner::ReadBox(), and osmscout::FileScanner::Sequential.
| 
 | static | 
Referenced by osmscout::Database::GetBoundingBoxDataFile(), and Load().