> 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

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sdk-user-guide/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sdk-user-guide/_mcp/server.

# holoscan::authoring::ForeignScalarSample

> Carry one language-neutral fixed-scalar sample across an authoring adapter boundary.

Carry one language-neutral fixed-scalar sample across an authoring adapter boundary.

```cpp showLineNumbers={false}
#include <holoscan/authoring/registry.hpp>
```

---

## Member variables

| Name         | Type               | Description                                                                   |
| ------------ | ------------------ | ----------------------------------------------------------------------------- |
| `has_data`   | `bool`             | Whether `data` contains a selected payload value.                             |
| `data`       | `ParamScalarValue` | [Exact](../../../structs/exact) fixed-width scalar bits when data is present. |
| `metadata`   | `SampleMetadata`   | Complete transport-neutral sample metadata.                                   |
| `is_stale`   | `bool`             | Frozen input-selection stale/reuse classification.                            |
| `is_missing` | `bool`             | Frozen input-selection absence classification.                                |