From e15e9c362bdc63354165d20741242ec240b0c3e3 Mon Sep 17 00:00:00 2001 From: riasc Date: Fri, 15 Nov 2024 12:33:15 -0600 Subject: [PATCH] added validator interface for files --- include/genogrove/DataFileValidator.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 include/genogrove/DataFileValidator.hpp diff --git a/include/genogrove/DataFileValidator.hpp b/include/genogrove/DataFileValidator.hpp new file mode 100644 index 0000000..6c8633b --- /dev/null +++ b/include/genogrove/DataFileValidator.hpp @@ -0,0 +1,10 @@ +#ifndef GENOGROVE_DATAFILEVALIDATOR_HPP +#define GENOGROVE_DATAFILEVALIDATOR_HPP + +class DataFileValidator { + virtual bool validate(std::string& filepath) = 0; + virtual std::string getErrorMessage() = 0; + virtual ~DataFileValidator() = default;:wchar_t +}; + +#endif //GENOGROVE_DATAFILEVALIDATOR_HPP