[feature] Added RouteRelation and linked it with FeatureType.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako
2025-06-25 23:58:19 -03:00
committed by Konstantin Pastbin
parent 315bba2a22
commit b85c11ea5a
26 changed files with 336 additions and 63 deletions

View File

@@ -115,7 +115,7 @@ private:
// only in MwmValue::SetTable() method, which, in turn, is called
// only in the MwmSet critical section, protected by a lock. So,
// there's an implicit synchronization on this field.
std::weak_ptr<feature::FeaturesOffsetsTable> m_table;
std::weak_ptr<feature::FeaturesOffsetsTable> m_ftTable, m_relTable;
};
class MwmValue;
@@ -387,7 +387,8 @@ private:
feature::DataHeader m_header;
public:
std::shared_ptr<feature::FeaturesOffsetsTable> m_table;
// m_ftTable should always present, m_relTable maybe nullptr.
std::shared_ptr<feature::FeaturesOffsetsTable> m_ftTable, m_relTable;
std::unique_ptr<indexer::MetadataDeserializer> m_metaDeserializer;
std::unique_ptr<HouseToStreetTable> m_house2street, m_house2place;