This commit is contained in:
Erik Fröjdh committed 2024-10-31 18:03:17 +01:00
1 parent 49da039ff9
commit b8a4498379
8 files changed
+227 -2

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#include "aare/CtbRawFile.hpp"
namespace aare{
CtbRawFile::CtbRawFile(const std::filesystem::path &fname){
if(!std::filesystem::exists(fname)){
throw std::runtime_error(LOCATION + "File does not exist");
}
m_fnc = parse_fname(fname);
if(!m_fnc.valid){
throw std::runtime_error(LOCATION + "Could not parse master file name");
}
}
} // namespace aare