holoscan::Config
holoscan::Config
Class to get the configuration of the application.
Constructors
Config
Default
Copy
Copy (deleted)
Destructor
~Config
Assignment operators
operator=
Methods
config_file
Get the path to the configuration file.
Returns: The path to the configuration file.
prefix
Get the prefix string that is prepended to the key of the configuration.
Returns: The prefix string that is prepended to the key of the configuration.
yaml_nodes
Get the YAML::Node objects that contains YAML document data.
Returns: The reference to the vector of YAML::Node objects.
from_config
Get the value of a configuration key as an ArgList.
This method retrieves the value from the configuration for the given key. You can use ’.’ (dot) to access nested fields.
Returns: The argument list of the configuration for the key.
Parameters
The key of the configuration.
config_keys
Determine the set of keys present in the config.
Returns all keys including nested keys using dot notation (e.g., “parent.child”).
Returns: The set of valid keys.