libosmscout
0.1
|
#include <DataTileCache.h>
Public Member Functions | |
TileAreaData & | GetAreaData () |
Return a read-write reference to the area data. More... | |
const TileAreaData & | GetAreaData () const |
Return a read-only reference to the area data. More... | |
GeoBox | GetBoundingBox () const |
Return the bounding box of the tile. More... | |
TileKey | GetKey () const |
Return the id of the tile. More... | |
uint32_t | GetLevel () const |
Get the magnification level of the tile. More... | |
TileNodeData & | GetNodeData () |
Return a read-write reference to the node data. More... | |
const TileNodeData & | GetNodeData () const |
Return a read-only reference to the node data. More... | |
TileAreaData & | GetOptimizedAreaData () |
Return a read-write reference to the optimized area data. More... | |
const TileAreaData & | GetOptimizedAreaData () const |
Return a read-only reference to the optimized area data. More... | |
TileWayData & | GetOptimizedWayData () |
Return a read-write reference to the optimized way data. More... | |
const TileWayData & | GetOptimizedWayData () const |
Return a read-only reference to the optimized way data. More... | |
TileRouteData & | GetRouteData () |
Return a read-write reference to the area data. More... | |
const TileRouteData & | GetRouteData () const |
Return a read-only reference to the route data. More... | |
TileWayData & | GetWayData () |
Return a read-write reference to the way data. More... | |
const TileWayData & | GetWayData () const |
Return a read-only reference to the way data. More... | |
bool | IsComplete () const |
Return 'true' if no data at all has been assigned. More... | |
bool | IsEmpty () const |
Return 'true' if no data for any type has been assigned. More... | |
~Tile ()=default | |
Friends | |
class | DataTileCache |
Result of a cache lookup. If there is a cache hit, data is set, else data is null and you must load and add it to the cache afterwards.
|
default |
|
inline |
Return a read-write reference to the area data.
|
inline |
Return a read-only reference to the area data.
|
inline |
Return the bounding box of the tile.
Referenced by osmscout::DataTileCache::PrefillDataFromCache().
|
inline |
Return the id of the tile.
Referenced by osmscout::DataTileCache::PrefillDataFromCache().
|
inline |
Get the magnification level of the tile.
References osmscout::TileKey::GetLevel().
Referenced by osmscout::DataTileCache::PrefillDataFromCache().
|
inline |
Return a read-write reference to the node data.
|
inline |
Return a read-only reference to the node data.
|
inline |
Return a read-write reference to the optimized area data.
|
inline |
Return a read-only reference to the optimized area data.
|
inline |
Return a read-write reference to the optimized way data.
|
inline |
Return a read-only reference to the optimized way data.
|
inline |
Return a read-write reference to the area data.
|
inline |
Return a read-only reference to the route data.
|
inline |
Return a read-write reference to the way data.
|
inline |
Return a read-only reference to the way data.
|
inline |
Return 'true' if no data at all has been assigned.
References osmscout::TileData< O >::IsComplete().
|
inline |
Return 'true' if no data for any type has been assigned.
References osmscout::TileData< O >::IsEmpty().
|
friend |