44#ifndef PFC_UI_PARAMETER_METADATA_HPP
45#define PFC_UI_PARAMETER_METADATA_HPP
84 std::optional<std::string>
validate(T value)
const {
86 std::ostringstream
msg;
87 msg <<
"Parameter '" <<
name <<
"' = " << value
96 std::ostringstream
msg;
97 msg <<
"Parameter '" <<
name <<
"' = " << value
114 std::ostringstream
info;
115 info <<
"Parameter: " <<
name <<
"\n";
123 info <<
" Valid range: [";
165 param_.description =
desc;
170 param_.required =
req;
175 param_.required = !
opt;
196 param_.typical_value =
typ_val;
201 param_.default_value =
def_val;
205 Builder& units(
const std::string&
u) {
206 param_.physical_units =
u;
211 param_.category =
cat;
Represents the global simulation domain (the "world").
Definition world.hpp:91