|
FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
|
Configuration for header writing. More...
#include <fcb/writer/header_serializer.hpp>
Public Attributes | |
| bool | write_index = true |
| std::uint64_t | feature_count = 0 |
| std::uint16_t | index_node_size = kDefaultNodeSize |
| std::vector< std::pair< std::string, std::optional< std::uint16_t > > > | attribute_indices |
(attribute name, branching factor); std::nullopt branching factor means the default. | |
| std::optional< std::array< double, 6 > > | geographical_extent |
Configuration for header writing.
Mirrors HeaderWriterOptions (writer/header_writer.rs). write_index == false forces index_node_size to 0 at the point the header is actually built (M7), which is how the header says "no R-tree" – this struct itself does not enforce that, matching Rust's HeaderWriterOptions::new_with_options.
Definition at line 36 of file header_serializer.hpp.
| std::vector<std::pair<std::string, std::optional<std::uint16_t> > > fcb::HeaderWriterOptions::attribute_indices |
(attribute name, branching factor); std::nullopt branching factor means the default.
Empty means Rust's attribute_indices: None.
Definition at line 42 of file header_serializer.hpp.
| std::uint64_t fcb::HeaderWriterOptions::feature_count = 0 |
Definition at line 38 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::FcbWriter::write().
| std::optional<std::array<double, 6> > fcb::HeaderWriterOptions::geographical_extent |
Definition at line 43 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::FcbWriter::write().
| std::uint16_t fcb::HeaderWriterOptions::index_node_size = kDefaultNodeSize |
Definition at line 39 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::FcbWriter::write().
| bool fcb::HeaderWriterOptions::write_index = true |
Definition at line 37 of file header_serializer.hpp.