21 std::unordered_set<BlockName> all_blocks;
24 all_blocks.insert(blocks.begin(), blocks.end());
30 std::vector<ParameterType> param_type;
33 if (block == block_) {
34 param_type.push_back(elem);
High-level monitoring and access adapter for parameter and path information.
ExternalFlag
Flags describing external input characteristics.
APIPath
Enumerates the filesystem paths exposed through the public API.
fs::path get_path(APIPath path_name) override
Retrieves a specific filesystem path exposed by APIPath.
std::unordered_set< BlockName > get_blocks_list(ParameterType param_type=ParameterType::SM)
Retrieves block names for a specific parameter type.
std::unordered_set< BlockName > get_all_blocks()
Retrieves all block names across all available model types.
std::vector< ParameterType > get_type_of_block(const BlockName &block)
Retrieves the list of parameter types that own a specific block.
bool check_flag(ExternalFlag flag)
Checks the status of a specific external flag.
std::map< LhaID, scalar_t > get_block_infos(const BlockName &block, ParameterType param_type=ParameterType::SM)
Retrieves all parameter values inside a given block.
Block identifier with alias support.
const MemoryCache & getMemoryCache()
Retrieves the current memory cache.
static MemoryManager * GetInstance()
Retrieves the singleton instance of MemoryManager.
fs::path get_path(APIPath path_name)
Retrieves a public API path from the runtime cache or path provider.
static std::shared_ptr< Parameters > GetInstance(ParameterType id=ParameterType::SM)
Returns the singleton-like repository for a given parameter type.
std::map< ExternalFlag, bool > flags
External flags describing the nature of the inputs.
std::vector< ParameterType > parameter_types
List of parameter types currently managed.
HyperisoConfig config
Config struct for various flags and runtime information.