Skip to navigation

holoscan::authoring::ParameterValue

Beta
View as Markdown

Carry one language-neutral authoring value.

#include <holoscan/authoring/parameter_materializer.hpp>

Methods

sequence_values

std::span<const ParameterValue> holoscan::authoring::ParameterValue::sequence_values() const noexcept

View borrowed sequence elements after both recursive public types are complete.

nested_assignments

std::span<const ParameterAssignment> holoscan::authoring::ParameterValue::nested_assignments() const noexcept

View borrowed nested assignments after both recursive public types are complete.


Static methods

none

static constexpr ParameterValue holoscan::authoring::ParameterValue::none() noexcept

Construct an explicit absent value.

Returns: Value accepted only by an optional schema field.

from

template <typename T>
static constexpr ParameterValue holoscan::authoring::ParameterValue::from(
T value
) noexcept

Construct a fixed scalar value.

Returns: Language-neutral scalar carrier.

Template parameters

T
typename

Supported fixed parameter scalar.

Parameters

value
T

Scalar to encode.


Member variables

NameTypeDescription
kindParameterValueKindActive value member.
scalarParamScalarValueScalar carrier when selected.
stringstd::string_viewBorrowed bytes when selected.
sequence_dataconst ParameterValue *Borrowed sequence storage.
sequence_sizestd::size_tBorrowed sequence element count.
assignment_dataconst ParameterAssignment *Borrowed nested assignment storage.
assignment_countstd::size_tBorrowed nested assignment count.