Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IDataLoader< T > Class Template Referenceabstract

Abstract interface for loading data into an object. More...

#include <IDataLoader.h>

Public Member Functions

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.
 
virtual ~IDataLoader ()=default
 Virtual destructor.
 

Detailed Description

template<typename T>
class IDataLoader< T >

Abstract interface for loading data into an object.

Template Parameters
TType of object into which the data will be loaded.

Definition at line 60 of file IDataLoader.h.

Constructor & Destructor Documentation

◆ ~IDataLoader()

template<typename T >
virtual IDataLoader< T >::~IDataLoader ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ load()

template<typename T >
virtual void IDataLoader< T >::load ( std::shared_ptr< T dest,
fs::path  src_file,
bool  block_in_blocks = false 
)
pure virtual

Loads data from a file into a destination object.

Parameters
destShared pointer to the destination object.
src_filePath to the source file to load from.

Implemented in ParamBlockLoader, and CorrelationLoader< T >.


The documentation for this class was generated from the following file: