|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Generic interface for providing information about parameter blocks. More...
#include <IBlockProvider.h>
Public Member Functions | |
| virtual bool | exists (U blockname, T)=0 |
| Checks whether a given block exists for a given category/model. | |
| virtual void | log_all_blocks (T type)=0 |
| Logs all blocks for a given category/model. | |
| virtual void | log_block (T type, U blockname)=0 |
| Logs the content of a specific block for a given category/model. | |
| virtual std::map< LhaID, scalar_t > | get_block (ParameterType type, const std::string &blockname)=0 |
| Retrieve the content of a specific block for a given category/model. | |
| virtual std::unordered_set< std::string > | get_all_blocks (ParameterType type)=0 |
| return all blocks for a given ParameterType. | |
| virtual | ~IBlockProvider ()=default |
| Virtual destructor. | |
Generic interface for providing information about parameter blocks.
| T | Type used to represent a category or model (e.g. ParameterType). |
| U | Type used to represent a block name (e.g. std::string or std::string_view). |
Implementations are expected to:
Definition at line 31 of file IBlockProvider.h.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Checks whether a given block exists for a given category/model.
| blockname | Name of the block to check. |
| type | Category / model identifier. |
Implemented in BlockProvider.
|
pure virtual |
return all blocks for a given ParameterType.
Internally calls:
| type | ParameterType whose blocks should be returned. |
Implemented in BlockProvider.
|
pure virtual |
Retrieve the content of a specific block for a given category/model.
| type | Category / model identifier. |
| blockname | Name of the block to log. |
Implemented in BlockProvider.
|
pure virtual |
Logs all blocks for a given category/model.
Implementations are free to choose how logging is performed (e.g. via Logger, std::cout, etc.).
| type | Category / model identifier. |
Implemented in BlockProvider.
|
pure virtual |
Logs the content of a specific block for a given category/model.
| type | Category / model identifier. |
| blockname | Name of the block to log. |
Implemented in BlockProvider.