std::shared_ptr< weightset_description_impl > weightset_description
Definition: description_types.hh:33
Definition: abstract_weightset.hh:37
const std::string public_name
Definition: abstract_weightset.hh:41
const std::string desc
Definition: abstract_weightset.hh:42
Definition: basic_weightset.hh:30
basic_weightset(const std::string &public_name, const std::string &class_name, std::initializer_list< std::string > pr, const std::string &desc)
Definition: basic_weightset.hh:35
virtual std::vector< std::string > const & possible_promotions() const override
bool is_promotable_to(weightset_description ws) const override
weightset_description fromstring(const std::string &k) const override
std::string const & tostring(weightset_description, bool) const override
Definition: basic_weightset.hh:42
virtual ~basic_weightset()
Definition: basic_weightset.hh:58
weightset_description parse_weightset(json::object_t const *p) const override
Definition: basic_weightset.hh:50