|
libosmscout 0.1
|
Abstraction for getting cached access to the 'ways.dat' file. More...
#include <AreaDataFile.h>
Public Member Functions | |
| AreaDataFile (AreaDataFile &&)=delete | |
| AreaDataFile (const AreaDataFile &)=delete | |
| AreaDataFile (size_t cacheSize) | |
| AreaDataFile & | operator= (AreaDataFile &&)=delete |
| AreaDataFile & | operator= (const AreaDataFile &)=delete |
| ~AreaDataFile () override=default | |
| Public Member Functions inherited from osmscout::DataFile< Area > | |
| virtual bool | Close () |
| Close the index. | |
| DataFile (const std::string &datafile, size_t cacheSize) | |
| void | FlushCache () |
| bool | GetByBlockSpan (const DataBlockSpan &span, std::vector< ValueType > &data) const |
| Read data values from the given DataBlockSpan. | |
| bool | GetByBlockSpans (IteratorIn begin, IteratorIn end, std::vector< ValueType > &data) const |
| Read data values from the given DataBlockSpans. | |
| bool | GetByOffset (FileOffset offset, ValueType &entry) const |
| Read one data value from the given file offset. | |
| std::string | GetFilename () const |
| virtual bool | IsOpen () const |
| Return true, if index is currently opened. | |
| bool | Open (const TypeConfigRef &typeConfig, const std::string &path, bool memoryMappedData) |
| Open the index file. | |
| DataFile & | operator= (const DataFile &)=delete |
| virtual | ~DataFile () |
Static Public Attributes | |
| static const char *const | AREAS_DAT ="areas.dat" |
| static const char *const | AREAS_IDMAP ="areas.idmap" |
Additional Inherited Members | |
| Public Types inherited from osmscout::DataFile< Area > | |
| using | ValueCache |
| using | ValueCacheEntry |
| using | ValueCacheRef |
| using | ValueType |
| Protected Attributes inherited from osmscout::DataFile< Area > | |
| TypeConfigRef | typeConfig |
Abstraction for getting cached access to the 'ways.dat' file.
|
explicit |
References AREAS_DAT, and osmscout::DataFile< Area >::DataFile().
Referenced by AreaDataFile(), AreaDataFile(), operator=(), and operator=().
|
delete |
References AreaDataFile().
|
delete |
References AreaDataFile().
|
overridedefault |
|
delete |
References AreaDataFile().
|
delete |
References AreaDataFile().
|
static |
Referenced by AreaDataFile().
|
static |