Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IDataLoader.h
Go to the documentation of this file.
1#ifndef IDATALOADER_H
2#define IDATALOADER_H
3
4#include <memory>
5#include <filesystem>
6
50namespace fs = std::filesystem;
51
59template<typename T>
61public:
62
69 virtual void load(std::shared_ptr<T> dest, fs::path src_file, bool block_in_blocks=false) = 0;
70
74 virtual ~IDataLoader() = default;
75};
76
77#endif // IDATALOADER_H
Abstract interface for loading data into an object.
Definition IDataLoader.h:60
virtual ~IDataLoader()=default
Virtual destructor.
virtual void load(std::shared_ptr< T > dest, fs::path src_file, bool block_in_blocks=false)=0
Loads data from a file into a destination object.