std::shared_ptr< weightset_description_impl > weightset_description
Definition: description_types.hh:33
Definition: abstract_weightset.hh:36
const int index
Definition: abstract_weightset.hh:38
virtual ~abstract_weightset()
Definition: abstract_weightset.hh:60
virtual weightset_description fromstring(const std::string &k) const =0
virtual weightset_description parse_weightset(json::object_t const *i) const =0
virtual const std::string & static_desc() const =0
virtual const std::string & static_public_name() const =0
virtual std::vector< std::string > const & possible_promotions() const
virtual const std::string & tostring(weightset_description ws, bool dynamic) const =0
abstract_weightset()
Definition: abstract_weightset.hh:39
static int counter
Definition: abstract_weightset.hh:37
virtual bool is_promotable_to(weightset_description ws) const =0
int getIndex() const
Definition: abstract_weightset.hh:42