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