This page is for version 5.0 (Latest) (default).
For other versions, use one of these documentation indexes:
- 5.0 (Latest) (default): https://docs.nvidia.com/holoscan/sdk-user-guide/5-0-latest/llms.txt
- ltsb-2.0: https://docs.nvidia.com/holoscan/sdk-user-guide/ltsb-2-0/llms.txt
- 4.6: https://docs.nvidia.com/holoscan/sdk-user-guide/4-6/llms.txt
- 4.5: https://docs.nvidia.com/holoscan/sdk-user-guide/4-5/llms.txt
- 4.4: https://docs.nvidia.com/holoscan/sdk-user-guide/4-4/llms.txt
- 4.3: https://docs.nvidia.com/holoscan/sdk-user-guide/4-3/llms.txt
- Archives: https://docs.nvidia.com/holoscan/sdk-user-guide/archives/llms.txt
template <typename T>struct SchemaCodecDescriptor
Carry process-local generated codec callbacks for one semantic type.
#include <holoscan/schema_package.hpp>
Template parameters
T
typename
Borrowed root or owning object-API type.
Types
Typedefs
| Name | Definition | Description |
|---|---|---|
VerifyFunction | bool(*)(std::span< const std::byte >) noexcept | Verify serialized bytes using the exact generated root verifier. |
ParseFunction | const T *(*)(std::span< const std::byte >) noexcept | Parse already verified bytes into a borrowed generated root view. |
EncodeFunction | expected< std::size_t, Error >(*)(const T &, std::span< std::byte >) noexcept | Serialize one owning semantic value into caller-owned bounded storage. |
MaterializeFunction | expected< T, Error >(*)(std::span< const std::byte >) noexcept | Materialize one owning semantic value from already verified bytes. |
Member variables
| Name | Type | Description |
|---|---|---|
verify | VerifyFunction | Generated verifier callback. |
parse | ParseFunction | Optional borrowed-root parser. |
encode | EncodeFunction | Optional bounded owning encoder. |
materialize | MaterializeFunction | Optional owning materializer. |