Skip to content

Commit

Permalink
added validator interface for files
Browse files Browse the repository at this point in the history
  • Loading branch information
riasc committed Nov 15, 2024
1 parent 5792377 commit e15e9c3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/genogrove/DataFileValidator.hpp
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e15e9c3

Please sign in to comment.