olp-cpp-sdk  1.22.0
Public Member Functions | List of all members
olp::dataservice::read::AggregatedDataResult Class Reference

Represents the result of a aggregated data operation. More...

#include <AggregatedDataResult.h>

Public Member Functions

void SetTile (const geo::TileKey &tile_key)
 Sets the TileKey instance of this content. More...
 
const geo::TileKeyGetTile () const
 Gets the requested TileKey or any of it's closest ancestor which contains the related data. More...
 
void SetData (model::Data data)
 Sets the data of the tile. More...
 
const model::Data & GetData () const
 Gets the data of the tile. More...
 
model::Data && MoveData ()
 Moves the data. More...
 

Detailed Description

Represents the result of a aggregated data operation.

Member Function Documentation

◆ GetData()

const model::Data& olp::dataservice::read::AggregatedDataResult::GetData ( ) const
inline

Gets the data of the tile.

Returns
The prefetched data of the tile.

◆ GetTile()

const geo::TileKey& olp::dataservice::read::AggregatedDataResult::GetTile ( ) const
inline

Gets the requested TileKey or any of it's closest ancestor which contains the related data.

Returns
The fetched tile key.

◆ MoveData()

model::Data&& olp::dataservice::read::AggregatedDataResult::MoveData ( )
inline

Moves the data.

Returns
The forwarding reference to the data.

◆ SetData()

void olp::dataservice::read::AggregatedDataResult::SetData ( model::Data  data)
inline

Sets the data of the tile.

Parameters
dataof the prefetched tile.

◆ SetTile()

void olp::dataservice::read::AggregatedDataResult::SetTile ( const geo::TileKey tile_key)
inline

Sets the TileKey instance of this content.

Parameters
tile_keyThe fetched tile key.

The documentation for this class was generated from the following file: