|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Abstract interface for block inspection and logging. More...
#include <IBlockProxy.h>

Public Member Functions | |
| virtual | ~IBlockProxy ()=default |
| virtual bool | exists (const std::string &blockname, ParameterType pt)=0 |
| Checks whether a block exists for a given ParameterType. | |
| virtual void | log_all_blocks (ParameterType pt)=0 |
| Logs all blocks 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 std::unordered_set< BlockName > | get_block_list (ParameterType pt)=0 |
| Retrieves the list of block names 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. | |
Abstract interface for block inspection and logging.
IBlockProxy defines the contract for classes that expose block-level diagnostics for Hyperiso models. It provides:
This interface is intended to be used by higher-level components that need read-only introspection and diagnostics without direct access to Parameters or MemoryManager.
Definition at line 49 of file IBlockProxy.h.
|
virtualdefault |
|
pure virtual |
Checks whether a block exists for a given ParameterType.
| blockname | Name of the block to check. |
| pt | ParameterType to query. |
Implemented in BlockProxy.
|
pure virtual |
Retrieves the content of the block names for a given ParameterType.
| pt | ParameterType to query. |
| blockname | Name of the block. |
Implemented in BlockProxy.
|
pure virtual |
Retrieves the list of block names for a given ParameterType.
| pt | ParameterType to query. |
Implemented in BlockProxy.
|
pure virtual |
Logs all blocks for a given ParameterType.
Implementations typically delegate to a lower-level logging facility (e.g. BlockProvider or Parameters), which prints the full content of the associated block accessor.
| pt | ParameterType whose blocks should be logged. |
Implemented in BlockProxy.
|
pure virtual |
Logs the content of a single block for a given ParameterType.
Implementations are expected to rely on the underlying block storage (e.g. Parameters::print_block), which streams the block content using the operator<< overload for std::shared_ptr<BlockAccessor>.
| pt | ParameterType owning the block. |
| blockname | Name of the block to log. |
Implemented in BlockProxy.