|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Alias-aware façade for accessing and manipulating multiple parameter blocks. More...
#include <functional>#include <unordered_map>#include "Include.h"#include "Block.h"#include "DependentParameter.h"

Go to the source code of this file.
Classes | |
| class | BlockAccessor |
| Alias-aware container / façade over several parameter blocks. More... | |
Alias-aware façade for accessing and manipulating multiple parameter blocks.
This file defines BlockAccessor, a high-level container built on top of a map of block names to Block instances.
Compared to using raw blocks directly, BlockAccessor adds:
The class publicly derives from std::unordered_map<std::string, std::shared_ptr<Block>>, but callers are expected to use the provided API instead of raw map operations because the class maintains an internal alias-resolution layer:
alias_to_key_ maps normalized aliases to a canonical storage key,key_to_name_ maps canonical keys back to the full BlockName object.Definition in file BlockAccessor.h.