Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
DependantBlockInfoProvider.h
Go to the documentation of this file.
1#ifndef DEPENDANT_BLOCK_INFO_PROVIDER_H
2#define DEPENDANT_BLOCK_INFO_PROVIDER_H
3
4#include <string>
5#include <vector>
6
7#include "Include.h"
8#include "Parameters.h"
9
44public:
54 bool is_dependent_block(ParameterType type, const std::string& block_name) const;
55
68 std::vector<std::string> get_source_blocks(ParameterType type, const std::string& block_name) const;
69
82 std::vector<std::string> get_dependent_blocks(ParameterType type, const std::string& block_name) const;
83
96 std::vector<std::string> get_all_source_blocks(ParameterType type, const std::string& block_name) const;
97
110 std::vector<std::string> get_all_dependent_blocks(ParameterType type, const std::string& block_name) const;
111};
112
113#endif // DEPENDANT_BLOCK_INFO_PROVIDER_H
ParameterType
Model-dependent parameter repository and initialization strategies.
Adapter exposing dependent-block metadata for one parameter namespace.
bool is_dependent_block(ParameterType type, const std::string &block_name) const
Checks whether a block is a DependentBlock.
std::vector< std::string > get_source_blocks(ParameterType type, const std::string &block_name) const
Returns the direct source blocks of a block.
std::vector< std::string > get_dependent_blocks(ParameterType type, const std::string &block_name) const
Returns the direct blocks depending on a block.
std::vector< std::string > get_all_source_blocks(ParameterType type, const std::string &block_name) const
Returns all transitive source blocks of a block.
std::vector< std::string > get_all_dependent_blocks(ParameterType type, const std::string &block_name) const
Returns all transitive blocks depending on a block.