|
libosmscout 0.1
|
Abstraction for getting cached access to the 'ways.dat' file. More...
#include <WayDataFile.h>
Public Member Functions | |
| WayDataFile & | operator= (const WayDataFile &)=delete |
| WayDataFile & | operator= (WayDataFile &&)=delete |
| WayDataFile (const WayDataFile &)=delete | |
| WayDataFile (size_t cacheSize) | |
| WayDataFile (WayDataFile &&)=delete | |
| ~WayDataFile () override=default | |
| Public Member Functions inherited from osmscout::DataFile< Way > | |
| 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 | WAYS_DAT ="ways.dat" |
| static const char *const | WAYS_IDMAP ="ways.idmap" |
Additional Inherited Members | |
| Public Types inherited from osmscout::DataFile< Way > | |
| using | ValueCache |
| using | ValueCacheEntry |
| using | ValueCacheRef |
| using | ValueType |
| Protected Attributes inherited from osmscout::DataFile< Way > | |
| TypeConfigRef | typeConfig |
Abstraction for getting cached access to the 'ways.dat' file.
|
explicit |
References osmscout::DataFile< Way >::DataFile(), and WAYS_DAT.
Referenced by operator=(), operator=(), WayDataFile(), and WayDataFile().
|
delete |
References WayDataFile().
|
delete |
References WayDataFile().
|
overridedefault |
|
delete |
References WayDataFile().
|
delete |
References WayDataFile().
|
static |
Referenced by WayDataFile().
|
static |