Home | History | Annotate | Download | only in src

Lines Matching full:bits_

237   SetRelation() : bits_(0) {}
240 void SetElementsInFirstSet() { bits_ |= kInFirst; }
241 void SetElementsInSecondSet() { bits_ |= kInSecond; }
242 void SetElementsInBothSets() { bits_ |= kInBoth; }
247 bool Disjoint() { return (bits_ & kInBoth) == 0; }
249 bool Equals() { return (bits_ & (kInFirst | kInSecond)) == 0; }
251 bool Contains() { return (bits_ & kInSecond) == 0; }
253 bool ContainedIn() { return (bits_ & kInFirst) == 0; }
255 return (bits_ == (kInFirst | kInSecond | kInBoth));
257 int value() { return bits_; }
259 int bits_;