libosmscout  1.1.1
Public Member Functions | Public Attributes | List of all members
osmscout::DataBlockSpan Struct Reference

#include <libosmscout/include/osmscout/DataFile.h>

Public Member Functions

bool operator< (const DataBlockSpan &other) const
 
bool operator== (const DataBlockSpan &other) const
 
bool operator!= (const DataBlockSpan &other) const
 

Public Attributes

FileOffset startOffset
 Offset for the first data entry referenced in the file. Data will be read starting from this position. More...
 
uint32_t count
 Number of entries to read. More...
 

Detailed Description

Reference a range of data entries by giving the offset of the first entry in the file and the number of data elements.

Member Function Documentation

◆ operator!=()

bool osmscout::DataBlockSpan::operator!= ( const DataBlockSpan other) const
inline

◆ operator<()

bool osmscout::DataBlockSpan::operator< ( const DataBlockSpan other) const
inline

◆ operator==()

bool osmscout::DataBlockSpan::operator== ( const DataBlockSpan other) const
inline

Member Data Documentation

◆ count

uint32_t osmscout::DataBlockSpan::count

Number of entries to read.

◆ startOffset

FileOffset osmscout::DataBlockSpan::startOffset

Offset for the first data entry referenced in the file. Data will be read starting from this position.


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