Skip to navigation

holoscan::ParamConstraints

Beta
View as Markdown

Describe fixed-size portable validation constraints for one declared field.

#include <holoscan/parameter_schema_types.hpp>

Member variables

NameTypeDescription
has_rangeboolWhether inclusive range_min and range_max apply.
range_minParamConstraintScalarInclusive lower bound in the exact scalar domain.
range_maxParamConstraintScalarInclusive upper bound in the exact scalar domain.
allowed_valuesstd::array< ParamConstraintScalar, kParamAllowedValueCapacity >Fixed-capacity allowed set.
allowed_value_countstd::uint8_tActive prefix length in allowed_values.
max_utf8_bytesstd::size_tPositive UTF-8 byte bound, or zero when absent.
max_element_utf8_bytesstd::size_tPositive per-string element bound, or zero.
max_elementsstd::size_tPositive sequence element bound, or zero when absent.
max_encoded_bytesstd::size_tPositive codec byte bound, or zero when absent.