27#include <boost/lexical_cast.hpp>
28#include <SimoxUtility/meta/enum/adapt_enum.h>
42 for (
const auto& [name, value] : values)
52 std::enable_if_t<!std::is_same_v<T, std::string>>> :
58 for (
const auto& [value, name] : values)
76 return pd.
map(values.map());
90 std::cout <<
"callget\n";
92 val = boost::lexical_cast<T>(pu.
getProperty<std::string>(name));
106 pd.
map(simox::meta::enum_names<T>);
PropertyDefinition defines a property that will be available within the PropertyUser.
PropertyDefinition< PropertyType > & map(const std::string &valueString, PropertyType value)
Maps a string value onto a value of the specified template type.
Abstract PropertyUser class.
Property< PropertyType > getProperty(const std::string &name)
Property creation and retrieval.