Skip to navigation

holoscan::config::decode_config

Beta
View as Markdown
template <ConfigCodable T>
T holoscan::config::decode_config(
ConfigView view,
const DecodeOptions &options = DecodeOptions{}
)

Decode one complete semantic value through its explicit ConfigCodec specialization.

Returns: The owning decoded value.

Throws: ConfigException on a structured decode or codec failure.

Template parameters

T
ConfigCodable

Owning destination type.

Parameters

view
ConfigView

Valid semantic value.

options
const DecodeOptions &Defaults to DecodeOptions{}

Immutable typed-decoding policy.