From a827e670a94b21c65b4f876c205722ef3ebdf4bb Mon Sep 17 00:00:00 2001 From: kirkrodrigues <2454684+kirkrodrigues@users.noreply.github.com> Date: Thu, 28 Dec 2023 23:33:24 -0500 Subject: [PATCH] Remove obsolete class StructuredFileToCompress. (#198) --- components/core/CMakeLists.txt | 2 -- .../core/src/clp/StructuredFileToCompress.hpp | 33 ------------------- components/core/src/clp/compression.hpp | 1 - 3 files changed, 36 deletions(-) delete mode 100644 components/core/src/clp/StructuredFileToCompress.hpp diff --git a/components/core/CMakeLists.txt b/components/core/CMakeLists.txt index fa0440c3c..a50d22c82 100644 --- a/components/core/CMakeLists.txt +++ b/components/core/CMakeLists.txt @@ -190,7 +190,6 @@ set(SOURCE_FILES_clp src/clp/FileToCompress.hpp src/clp/run.cpp src/clp/run.hpp - src/clp/StructuredFileToCompress.hpp src/clp/utils.cpp src/clp/utils.hpp src/database_utils.cpp @@ -643,7 +642,6 @@ set(SOURCE_FILES_unitTest src/clp/FileToCompress.hpp src/clp/run.cpp src/clp/run.hpp - src/clp/StructuredFileToCompress.hpp src/clp/utils.cpp src/clp/utils.hpp src/database_utils.cpp diff --git a/components/core/src/clp/StructuredFileToCompress.hpp b/components/core/src/clp/StructuredFileToCompress.hpp deleted file mode 100644 index 210d1efb2..000000000 --- a/components/core/src/clp/StructuredFileToCompress.hpp +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef CLP_STRUCTUREDFILETOCOMPRESS_HPP -#define CLP_STRUCTUREDFILETOCOMPRESS_HPP - -#include - -#include "FileToCompress.hpp" - -namespace clp { -/** - * Class to store data about a structured file to compress - */ -class StructuredFileToCompress : public FileToCompress { -public: - // Constructors - StructuredFileToCompress( - std::string const& path, - std::string const& path_for_compression, - std::string const& timestamps_file_path, - group_id_t group_id - ) - : FileToCompress(path, path_for_compression, group_id), - m_timestamps_file_path(timestamps_file_path) {} - - // Methods - std::string const& get_timestamps_file_path() const { return m_timestamps_file_path; } - -private: - // Variables - std::string m_timestamps_file_path; -}; -} // namespace clp - -#endif // CLP_STRUCTUREDFILETOCOMPRESS_HPP diff --git a/components/core/src/clp/compression.hpp b/components/core/src/clp/compression.hpp index 083e52187..7955fcc2c 100644 --- a/components/core/src/clp/compression.hpp +++ b/components/core/src/clp/compression.hpp @@ -10,7 +10,6 @@ #include "CommandLineArguments.hpp" #include "FileToCompress.hpp" -#include "StructuredFileToCompress.hpp" namespace clp { /**