| 37 | } |
| 38 | |
| 39 | bool Algorithm::contain_attribute_all(const Attribute& attr) const { |
| 40 | return attr == static_cast<Attribute>(attribute() & attr); |
| 41 | } |
| 42 | |
| 43 | bool Algorithm::contain_attribute_any(const Attribute& attr) const { |
| 44 | return static_cast<bool>(attribute() & attr); |