5 for (
auto& elem: blocks_list) {
6 if (elem == blockname) {
27 std::unordered_set<std::string> out;
28 for (
auto& elem: blocks_list) {
29 out.insert(elem.to_string());
Concrete implementation of IBlockProvider for HyperISO parameter blocks.
#define LOG_INFO(...)
Macro for logging informational messages.
bool exists(const std::string &blockname, ParameterType) override
Checks whether a block exists for the given ParameterType.
std::unordered_set< std::string > get_all_blocks(ParameterType type) override
return all blocks for a given ParameterType.
void log_all_blocks(ParameterType type) override
Logs all blocks for a given ParameterType.
void log_block(ParameterType type, const std::string &blockname) override
Logs the content of a single block for a given ParameterType.
std::map< LhaID, scalar_t > get_block(ParameterType type, const std::string &blockname) override
Retrieve the content of a single block for a given ParameterType.
static std::shared_ptr< Parameters > GetInstance(ParameterType id=ParameterType::SM)
Returns the singleton-like repository for a given parameter type.