|
|
std::string | name |
| | Parameter name (as in config file)
|
| |
|
std::string | description |
| | Human-readable description.
|
| |
|
bool | required = false |
| | Must be present in config?
|
| |
|
std::optional< T > | min_value |
| | Minimum valid value (inclusive)
|
| |
|
std::optional< T > | max_value |
| | Maximum valid value (inclusive)
|
| |
|
std::optional< T > | typical_value |
| | Typical/recommended value.
|
| |
|
std::optional< T > | default_value |
| | Default if not specified.
|
| |
|
std::string | physical_units |
| | Physical units (e.g., "K", "m/s")
|
| |
|
std::string | category |
| | Parameter category (e.g., "Thermodynamics")
|
| |
template<
typename T>
struct pfc::ui::ParameterMetadata< T >
Metadata for a single model parameter.
Contains all information needed to validate, document, and provide helpful error messages for a parameter.
- Template Parameters
-
| T | Parameter type (double, int, etc.) |