|
FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
|
Builds the pointOfContact fields of a header from CityJSON metadata.pointOfContact.
More...
#include <fcb/writer/header_serializer.hpp>
Public Attributes | |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | contact_name |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | contact_type |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | role |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | phone |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | website |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | address_thoroughfare_number |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | address_thoroughfare_name |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | address_locality |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | address_postcode |
| std::optional<::flatbuffers::Offset<::flatbuffers::String > > | address_country |
Builds the pointOfContact fields of a header from CityJSON metadata.pointOfContact.
Returns the six scalar POC offsets and five address offsets, all std::nullopt when absent from the source object – one struct rather than eleven out-parameters, to keep the exact creation order (contact_name, contact_type, role, phone, email, website, THEN thoroughfare_number, thoroughfare_name, locality, postcode, country) visible in one place, matching to_point_of_contact (writer/serializer.rs:319-369) exactly. address.postcode wins over address.postalCode when a document carries both (.or_else order).
Definition at line 102 of file header_serializer.hpp.
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::address_country |
Definition at line 113 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::address_locality |
Definition at line 111 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::address_postcode |
Definition at line 112 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::address_thoroughfare_name |
Definition at line 110 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::address_thoroughfare_number |
Definition at line 109 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::contact_name |
Definition at line 103 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::contact_type |
Definition at line 104 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::email |
Definition at line 107 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::phone |
Definition at line 106 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::role |
Definition at line 105 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().
| std::optional<::flatbuffers::Offset<::flatbuffers::String> > fcb::PocOffsets::website |
Definition at line 108 of file header_serializer.hpp.
Referenced by fcb::to_fcb_header(), and fcb::to_point_of_contact().