#include <libosmscout-map/include/osmscoutmap/DataTileCache.h>
template<typename O>
class osmscout::TileData< O >
Template for storing sets of data of the same type in a tile. Normally data will either be NodeRef, WayRef or AreaRef.
◆ TileData()
◆ AddData()
template<typename O>
| void osmscout::TileData< O >::AddData |
( |
const TypeInfoSet & | types, |
|
|
const std::vector< O > & | data ) |
|
inline |
Add data to the tile and mark the tile as completed.
◆ AddPrefillData() [1/2]
template<typename O>
| void osmscout::TileData< O >::AddPrefillData |
( |
const TypeInfoSet & | types, |
|
|
const std::vector< O > & | data ) |
|
inline |
Assign data to the tile that was derived from existing tiles. Resets the list of loaded types to the list given.
◆ AddPrefillData() [2/2]
template<typename O>
| void osmscout::TileData< O >::AddPrefillData |
( |
const TypeInfoSet & | types, |
|
|
std::vector< O > && | data ) |
|
inline |
Assign data to the tile that was derived from existing tiles. Resets the list of loaded types to the list given. This version has move semantics for the data.
◆ CopyData()
◆ GetDataSize()
◆ GetTypes()
Return the list of types of the data stored in the tile.
Note that it is stll possibly that there is no acutal data for this type in the TileData stored.
◆ Invalidate()
Marks the tile as incomplete again, without actually clearing data and types.
◆ IsComplete()
Return 'true' if there was data already assigned to the tile
◆ IsEmpty()
◆ SetComplete()
Mark the tile as completed (useful if prefill data is already complete and no more actual data has to be loaded)
◆ SetData() [1/2]
template<typename O>
| void osmscout::TileData< O >::SetData |
( |
const TypeInfoSet & | types, |
|
|
const std::vector< O > & | data ) |
|
inline |
Assign data to the tile and mark the tile as completed.
◆ SetData() [2/2]
template<typename O>
| void osmscout::TileData< O >::SetData |
( |
const TypeInfoSet & | types, |
|
|
std::vector< O > && | data ) |
|
inline |
Assign data to the tile and mark the tile as completed. This version has move semantics for the data.
The documentation for this class was generated from the following file: