libosmscout  0.1
osmscout::DataBlockSpan Struct Reference

#include <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

uint32_t count
 Number of entries to read. More...
 
FileOffset startOffset
 Offset for the first data entry referenced in the file. Data will be read starting from this position. 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

References count, and startOffset.

◆ operator<()

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

References startOffset.

◆ operator==()

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

References count, and startOffset.

Member Data Documentation

◆ count

uint32_t osmscout::DataBlockSpan::count

Number of entries to read.

Referenced by osmscout::DataFile< PTRoute >::GetByBlockSpan(), operator!=(), and operator==().

◆ startOffset

FileOffset osmscout::DataBlockSpan::startOffset

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

Referenced by osmscout::DataFile< PTRoute >::GetByBlockSpan(), operator!=(), operator<(), and operator==().


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