Lines Matching refs:bits_
240 SetRelation() : bits_(0) {}
243 void SetElementsInFirstSet() { bits_ |= kInFirst; }
244 void SetElementsInSecondSet() { bits_ |= kInSecond; }
245 void SetElementsInBothSets() { bits_ |= kInBoth; }
250 bool Disjoint() { return (bits_ & kInBoth) == 0; }
252 bool Equals() { return (bits_ & (kInFirst | kInSecond)) == 0; }
254 bool Contains() { return (bits_ & kInSecond) == 0; }
256 bool ContainedIn() { return (bits_ & kInFirst) == 0; }
258 return (bits_ == (kInFirst | kInSecond | kInBoth));
260 int value() { return bits_; }
263 int bits_;