|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
#include "SourcesView.h"
Go to the source code of this file.
Functions | |
| std::string | join (const std::vector< std::string > &v) |
| Joins a list of strings with ", ". | |
| std::string | to_string (const LhaID &id) |
| Convenience stringification for LhaID. | |
| std::string | to_string (const ParamId &id) |
| Convenience stringification for ParamId. | |
| BlockSrc | as_block_src (const std::unordered_map< std::string, std::shared_ptr< Block > > &m, std::string ctx) |
| Helper function to build a BlockSrc view from a block map. | |
| ParamSrc | as_param_src (const std::unordered_map< ParamId, std::shared_ptr< Parameter > > &m, std::string ctx) |
| Helper function to build a ParamSrc view from a parameter map. | |
| BlockSrc as_block_src | ( | const std::unordered_map< std::string, std::shared_ptr< Block > > & | m, |
| std::string | ctx = {} |
||
| ) |
Helper function to build a BlockSrc view from a block map.
| m | Map of block name to Block pointer. |
| ctx | Optional context string for error reporting. |
m. Definition at line 129 of file SourceView.cpp.
| std::string join | ( | const std::vector< std::string > & | v | ) |
Joins a list of strings with ", ".
Utility function mainly used to format error messages with "available keys" lists.
| v | Vector of strings to join. |
Definition at line 3 of file SourceView.cpp.
| std::string to_string | ( | const LhaID & | id | ) |
Convenience stringification for LhaID.
Delegates to LhaID::to_string().
| id | LhaID to stringify. |
Definition at line 9 of file SourceView.cpp.
| std::string to_string | ( | const ParamId & | id | ) |
Convenience stringification for ParamId.
Produces a human-readable identifier of the form: <ParameterType>::<block>:: using ParameterTypeMapper::str for the type.
| id | ParamId to stringify. |
Definition at line 13 of file SourceView.cpp.