Skip to navigation

holoscan::config::merge_config_values

Beta
View as MarkdownOpen in Claude
HOLOSCAN_CONFIG_EXPORT ConfigValue holoscan::config::merge_config_values(
const ConfigValue &baseline,
const ConfigValue &patch
)

Recursively merge object values while replacing arrays and scalars as whole values.

Returns: The merged immutable value.

Throws: ConfigException on limit or allocation failure.

Parameters

baseline
const ConfigValue &

Immutable baseline value.

patch
const ConfigValue &

Immutable patch value. Object/object pairs recurse; every other pair replaces the baseline with patch.