holoscan::config_io::load
holoscan::config_io::load
Load and parse an explicitly selected configuration file.
The file size is checked before allocating the input buffer and the same parsing contract as parse() applies. This call may block on filesystem I/O and is not a real-time operation.
Returns: The immutable Document.
Throws: config::ConfigException on validation, I/O, or parse failure.
Parameters
path
Existing regular-file path to read.
format
Explicit source syntax.
options
Preservation and resource-limit policy.