olp-cpp-sdk  1.22.0
Public Types | Public Member Functions | List of all members
olp::dataservice::read::SeekRequest Class Referencefinal

Requests to seek an offset for a stream layer. More...

#include <SeekRequest.h>

Public Types

using StreamOffsets = model::StreamOffsets
 An alias for the stream offsets.
 

Public Member Functions

SeekRequestWithOffsets (StreamOffsets offsets)
 Sets offsets for the request. More...
 
const model::StreamOffsetsGetOffsets () const
 Gets the stream offsets of the request. More...
 

Detailed Description

Requests to seek an offset for a stream layer.

Member Function Documentation

◆ GetOffsets()

const model::StreamOffsets& olp::dataservice::read::SeekRequest::GetOffsets ( ) const
inline

Gets the stream offsets of the request.

Returns
The current stream offsets.

◆ WithOffsets()

SeekRequest& olp::dataservice::read::SeekRequest::WithOffsets ( StreamOffsets  offsets)
inline

Sets offsets for the request.

No offset by default.

Parameters
offsetsThe stream offsets.
Returns
A reference to the updated SeekRequest instance.

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