4 return bp.
exists(blockname, pt);
Facade combining block existence/logging (BlockProvider) and block listing (APIAdapter).
std::unordered_set< BlockName > get_blocks_list(ParameterType param_type=ParameterType::SM)
Retrieves block names for a specific parameter type.
bool exists(const std::string &blockname, ParameterType) override
Checks whether a block exists for the 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.
void log_all_blocks(ParameterType pt) override
Logs all blocks for a given ParameterType.
std::map< LhaID, scalar_t > get_block(ParameterType pt, const std::string &blockname) override
Retrieves the content of a block for a given ParameterType.
void log_block(ParameterType pt, const std::string &blockname) override
Logs a single block for a given ParameterType.
std::unordered_set< BlockName > get_block_list(ParameterType pt) override
Retrieves the set of block names for a given ParameterType.
bool exists(const std::string &blockname, ParameterType pt) override
Checks whether a block exists for the given ParameterType.