One named state of a stepped parameter.
More...
#include <forge_param_descriptor.hpp>
|
| | ForgeParamChoice ()=default |
| | ForgeParamChoice (std::string_view token_in, std::string_view label_in, float value_in, std::vector< std::string_view > modes_in={}) |
|
| std::string_view | token |
| std::string_view | label |
| float | value = 0.0f |
| std::vector< std::string_view > | realization_modes |
| | Empty means the choice is valid wherever its parameter is valid.
|
One named state of a stepped parameter.
token is the stable machine key and must never change; label is presentation and may.
◆ ForgeParamChoice() [1/2]
| pulp::host::ForgeParamChoice::ForgeParamChoice |
( |
| ) |
|
|
default |
◆ ForgeParamChoice() [2/2]
| pulp::host::ForgeParamChoice::ForgeParamChoice |
( |
std::string_view | token_in, |
|
|
std::string_view | label_in, |
|
|
float | value_in, |
|
|
std::vector< std::string_view > | modes_in = {} ) |
|
inline |
◆ label
| std::string_view pulp::host::ForgeParamChoice::label |
◆ realization_modes
| std::vector<std::string_view> pulp::host::ForgeParamChoice::realization_modes |
Empty means the choice is valid wherever its parameter is valid.
Otherwise it is offered only by these realization modes.
◆ token
| std::string_view pulp::host::ForgeParamChoice::token |
◆ value
| float pulp::host::ForgeParamChoice::value = 0.0f |
The documentation for this struct was generated from the following file: