YAML::convert< holoscan::ops::HolovizOp::InputSpec >

Beta
View as Markdown

Custom YAML parser for InputSpec class.

#include <YAML/holoviz.hpp>

Static methods

encode

static Node YAML::convert<holoscan::ops::HolovizOp::InputSpec>::encode(
const holoscan::ops::HolovizOp::InputSpec &input_spec
)

Encodes an InputSpec object to a YAML Node.

Returns: YAML Node representation of the InputSpec.

Parameters

input_spec
const holoscan::ops::HolovizOp::InputSpec &

The InputSpec object to encode.

decode

static bool YAML::convert<holoscan::ops::HolovizOp::InputSpec>::decode(
const Node &node,
holoscan::ops::HolovizOp::InputSpec &input_spec
)

Decodes a YAML Node to an InputSpec object.

Returns: true if successful, false otherwise.

Parameters

node
const Node &

The YAML Node to decode.

input_spec
holoscan::ops::HolovizOp::InputSpec &

The InputSpec object to populate.