merge with organizing targets

This commit is contained in:
Bechir
2024-03-08 13:28:34 +01:00
parent 47d381d299
commit 146d2aed19
7 changed files with 44 additions and 69 deletions

View File

@ -10,9 +10,9 @@ class FileHandler{
File<detector,DataType>* f;
public:
FileHandler<detector,DataType>(std::filesystem::path fpath){
this->fpath = fpath;
this->fileFactory= FileFactory<detector,DataType>::get_factory(fpath);
FileHandler<detector,DataType>(std::filesystem::path fname){
this->fpath = fname;
this->fileFactory= FileFactory<detector,DataType>::get_factory(fname);
this->f= fileFactory->load_file();
delete fileFactory;
}