holoscan::config::ConfigCodec< std::array< T, N > >
holoscan::config::ConfigCodec< std::array< T, N > >
Provide the built-in exact-cardinality array codec for std::array.
Template parameters
T
Owning element type satisfying ConfigCodable.
N
Required semantic array cardinality.
Static methods
decode
Decode exactly N elements and reject every other cardinality.
Returns: The exact-cardinality array or a structured type/budget/child failure.
Parameters
view
Semantic array to decode.
options
Typed element conversion policy.
context
Borrowed monotonic decode context.
encode
Encode all N elements in index order.
Returns: The immutable semantic array or a structured budget/child failure.
Parameters
values
Ordered elements to encode.
options
Typed element encoding policy.
context
Borrowed monotonic encode context.