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