Finally refactored all stores!

This commit is contained in:
zy4n
2025-04-02 17:45:41 +02:00
parent 27977c1738
commit 835c645da4
11 changed files with 469 additions and 648 deletions

View File

@@ -39,9 +39,8 @@ protected:
{
public:
parser_context(
const pose_list_id_lookup& pose_list_lookup,
const pose_list_store& pose_list_store,
store_type& m_store,
path_id_lookups& pose_list_lookup,
data_stores& stores
);
void operator()(lookup_type::const_pointer entry) noexcept;
@@ -56,9 +55,8 @@ protected:
void remove_metadata_declarations();
private:
pose_list_id_lookup const* m_pose_list_lookup;
pose_list_store const* m_pose_list_store;
store_type* m_store;
path_id_lookups* m_pose_list_lookup;
data_stores* m_stores;
data_type m_buffer{};
std::filesystem::path m_last_pose_path{};
pose_list_view m_last_pose_list{};
@@ -69,7 +67,7 @@ protected:
std::string_view filename
);
[[nodiscard]] static std::error_code load_point_file(
[[nodiscard]] static std::error_code parse_file(
const std::filesystem::path& filename,
data_type& point_cloud
);
@@ -93,4 +91,3 @@ private:
};
}