FlatCityBuf C++ reader 0.10.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
Loading...
Searching...
No Matches
fcb::FileLayout Struct Reference

Byte offsets of each section. More...

#include <fcb/layout.hpp>

Public Attributes

std::uint64_t header_len
std::uint64_t rtree_begin
std::uint64_t rtree_size
std::uint64_t attr_index_begin
std::uint64_t attr_index_size
std::uint64_t feature_begin

Detailed Description

Byte offsets of each section.

Nothing in the file records these – they must be computed, and an off-by-one silently corrupts everything after.

Definition at line 32 of file layout.hpp.

Member Data Documentation

◆ attr_index_begin

std::uint64_t fcb::FileLayout::attr_index_begin

Definition at line 36 of file layout.hpp.

Referenced by fcb::compute_layout(), and fcb::HeaderView::read_header.

◆ attr_index_size

std::uint64_t fcb::FileLayout::attr_index_size

Definition at line 37 of file layout.hpp.

Referenced by fcb::compute_layout().

◆ feature_begin

std::uint64_t fcb::FileLayout::feature_begin

Definition at line 38 of file layout.hpp.

Referenced by fcb::compute_layout(), and fcb::validate_layout_against_size().

◆ header_len

std::uint64_t fcb::FileLayout::header_len

Definition at line 33 of file layout.hpp.

Referenced by fcb::compute_layout().

◆ rtree_begin

std::uint64_t fcb::FileLayout::rtree_begin

Definition at line 34 of file layout.hpp.

Referenced by fcb::compute_layout().

◆ rtree_size

std::uint64_t fcb::FileLayout::rtree_size

Definition at line 35 of file layout.hpp.

Referenced by fcb::compute_layout().


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