|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Interface for freezing and unfreezing blocks or parameters. More...
#include <IFreezer.h>
Public Member Functions | |
| virtual | ~IFreezer ()=default |
| Virtual destructor for proper polymorphic cleanup if ever inherited non-statically. | |
Static Public Member Functions | |
| static void | freeze (const T &, const U &)=delete |
| Freezes a block given its type and name. | |
| static void | freeze (const V &)=delete |
| Freezes a single object (typically a parameter). | |
| static void | unfreeze (const T &, const U &)=delete |
| Unfreezes a block given its type and name. | |
| static void | unfreeze (const V &)=delete |
| Unfreezes a single object (typically a parameter). | |
Interface for freezing and unfreezing blocks or parameters.
| T | Type used to describe the parameter “category” (e.g. ParameterType). |
| U | Type used to identify a block (e.g. std::string). |
| V | Type used to identify a single entity (e.g. ParamId). |
This interface declares a static API (via deleted functions) intended to be implemented by concrete helper classes such as Freezer. The use of deleted functions prevents accidental usage of the interface directly while still documenting the expected signatures.
Definition at line 45 of file IFreezer.h.
Virtual destructor for proper polymorphic cleanup if ever inherited non-statically.
Freezes a block given its type and name.
Concrete implementations should prevent further updates to all parameters contained in the block designated by (T, U).
Freezes a single object (typically a parameter).
Concrete implementations should prevent further updates to the entity identified by V.
Unfreezes a block given its type and name.
Concrete implementations should allow updates again for all parameters contained in the block designated by (T, U).
Unfreezes a single object (typically a parameter).
Concrete implementations should allow updates again for the entity identified by V.