22 #include "predicate.h"
36 Predicate::Predicate(
const std::string &name,
bool condition,
const std::vector<std::string> &attrs)
37 : name_(name), condition_(condition), attrs_(attrs)
47 operator<<(std::ostream &strm,
const Predicate &a)
49 strm <<
"\t" << a.name_ <<
"," << a.condition_;
50 for (std::string s : a.attrs_) {
65 return ((name_ == rhs.name_) && (condition_ == rhs.condition_) && (attrs_ == rhs.attrs_));
89 const std::vector<std::string> &