27 #include <boost/operators.hpp>
39 class Rule :
public boost::less_than_comparable<Rule>,
40 public boost::equality_comparable<Rule>
59 void set_handle(
Handle h)
throw (InvalidParamException);
60 void set_name(
const string& name);
61 void set_category(
const string& name);
62 void set_weight(
float p);
66 const string& get_name()
const;
67 string& get_category();
68 const string& get_category()
const;
std::vector< Handle > HandleSeq
a list of handles
bool operator==(const Rule &r) const
bool operator<(const Rule &r) const