Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IBlockProxy.h
Go to the documentation of this file.
1#ifndef IBLOCK_PROXY_H
2#define IBLOCK_PROXY_H
3
4#include <unordered_set>
5#include <string>
6
7#include "Include.h"
8#include "scalar.h"
9
50public:
51 virtual ~IBlockProxy() = default;
52
60 virtual bool exists(const std::string& blockname, ParameterType pt) = 0;
61
71 virtual void log_all_blocks(ParameterType pt) = 0;
72
83 virtual void log_block(ParameterType pt, const std::string& blockname) = 0;
84
91 virtual std::unordered_set<BlockName> get_block_list(ParameterType pt) = 0;
92
100 virtual std::map<LhaID, scalar_t> get_block(ParameterType pt, const std::string& blockname) = 0;
101};
102
103#endif // IBLOCK_PROXY_H
ParameterType
Abstract interface for block inspection and logging.
Definition IBlockProxy.h:49
virtual std::unordered_set< BlockName > get_block_list(ParameterType pt)=0
Retrieves the list of block names for a given ParameterType.
virtual void log_block(ParameterType pt, const std::string &blockname)=0
Logs the content of a single block for a given ParameterType.
virtual ~IBlockProxy()=default
virtual bool exists(const std::string &blockname, ParameterType pt)=0
Checks whether a block exists for a given ParameterType.
virtual std::map< LhaID, scalar_t > get_block(ParameterType pt, const std::string &blockname)=0
Retrieves the content of the block names for a given ParameterType.
virtual void log_all_blocks(ParameterType pt)=0
Logs all blocks for a given ParameterType.