libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::DataBlockSpan Struct Reference

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

#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

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

References count, and startOffset.

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

References startOffset.

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

References count, and startOffset.

Member Data Documentation

uint32_t osmscout::DataBlockSpan::count

Number of entries to read.

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

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< N >::GetByBlockSpan(), operator!=(), operator<(), and operator==().


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