3 #include <SimoxUtility/meta/enum/adapt_enum.h>
5 #include "../Storage.h"
11 std::enable_if_t<meta::cfg::gui_definition_enabled_v<T>,
void>
15 namespace hana = boost::hana;
16 static constexpr
auto accessors = hana::accessors<T>();
17 hana::for_each(accessors,
22 if constexpr (!elem_det::no_remote_gui)
24 const auto varname = hana::to<char const*>(hana::first(e));
26 auto& elem = hana::second(e)(cfg);
38 simox::meta::enable_if_enum_adapted_t<T>
42 cfg = simox::meta::enum_names<T>.from_name(getAndReturnValue<std::string>(
values, name));