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
50
namespace
fs = std::filesystem;
51
59
template
<
typename
T>
60
class
IDataLoader
{
61
public
:
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
IDataLoader
Abstract interface for loading data into an object.
Definition
IDataLoader.h:60
IDataLoader::~IDataLoader
virtual ~IDataLoader()=default
Virtual destructor.
IDataLoader::load
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.
Hyperiso
core
src
Core
ports
IDataLoader.h
Generated by
1.9.8