|
FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
|
A parsed header that OWNS its backing bytes. More...
#include <fcb/header.hpp>
Public Member Functions | |
| HeaderView ()=default | |
| const FileInfo & | info () const |
| const FileLayout & | layout () const |
| const std::vector< AttrIndexInfo > & | attr_indices () const |
Friends | |
| struct | detail::HeaderAccess |
| HeaderView | read_header (std::shared_ptr< RangeReader > reader) |
| Read and validate the file preamble and header. | |
A parsed header that OWNS its backing bytes.
The raw ::Header pointer is deliberately not exposed: a caller could retain it past this object's destruction and read freed memory. Internal decoders reach it through detail::HeaderAccess.
Definition at line 108 of file header.hpp.
|
default |
|
inline |
Definition at line 114 of file header.hpp.
Referenced by fcb::FcbReader::select_attr().
|
inline |
Definition at line 112 of file header.hpp.
Referenced by fcb::FeatureIterator::features_count(), fcb::FeatureIterator::next(), fcb::FcbReader::select_attr(), fcb::FcbReader::select_bbox(), fcb::to_cityjson_feature(), and fcb::to_cityjson_metadata().
|
inline |
Definition at line 113 of file header.hpp.
Referenced by fcb::FeatureIterator::FeatureIterator(), fcb::FeatureIterator::next(), and fcb::FcbReader::select_bbox().
|
friend |
Definition at line 117 of file header.hpp.
|
friend |
Read and validate the file preamble and header.
Takes SHARED ownership so it can construct its own per-query BufferedRangeReader internally (over-fetching the header plus the top R-tree levels in one request, as the Rust HTTP reader does).
Definition at line 199 of file header.cpp.