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

Beta
View as Markdown

Custom YAML parser for InputSpec::View class.

#include <YAML/holoviz.hpp>

Static methods

encode

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

Encodes an InputSpec::View object to a YAML Node.

Returns: YAML Node representation of the View.

Parameters

view
const holoscan::ops::HolovizOp::InputSpec::View &

The InputSpec::View object to encode.

decode

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

Decodes a YAML Node to an InputSpec::View object.

Returns: true if successful, false otherwise.

Parameters

node
const Node &

The YAML Node to decode.

view
holoscan::ops::HolovizOp::InputSpec::View &

The InputSpec::View object to populate.