| 
    SNAP Library 2.3, Developer Reference
    2014-06-16 11:58:46
    
   SNAP, a general purpose, high performance system for analysis and manipulation of large networks 
   | 
 
#include <bits.h>

Public Member Functions | |
| TBSet () | |
| TBSet (const TBSet &BSet) | |
| PBSet | Clone () const | 
| TBSet (const int &_Bits) | |
| ~TBSet () | |
| TBSet (TSIn &SIn) | |
| void | Save (TSOut &SOut) const | 
| TBSet & | operator= (const TBSet &BSet) | 
| bool | operator== (const TBSet &BSet) const | 
| void | Gen (const int &_Bits) | 
| void | Clr () | 
| void | Fill () | 
| void | Incl (const int &BitN) | 
| void | Excl (const int &BitN) | 
| bool | In (const int &BitN) const | 
| void | SetBit (const int &BitN, const bool &Bool) | 
| bool | GetBit (const int &BitN) const | 
| void | SwitchBit (const int &BitN) | 
| int | GetBits () const | 
| int | Get1s () | 
| int | Get0s () | 
| uint64 | GetUInt64 () const | 
| void | Wr () | 
| TBSet & | operator~ () | 
| TBSet & | operator&= (const TBSet &BSet) | 
| TBSet & | operator|= (const TBSet &BSet) | 
| TBSet & | operator|= (const int &BitN) | 
| TBSet & | operator^= (const TBSet &BSet) | 
Static Public Member Functions | |
| static PBSet | New (const int &Bits) | 
| static PBSet | Load (TSIn &SIn) | 
Private Member Functions | |
| void | SetLastB4 () | 
Private Attributes | |
| TCRef | CRef | 
| int | B4s | 
| int | Bits | 
| TB4Def::TB4 | LastB4Mask | 
| TB4Def::TB4 * | B4T | 
Friends | |
| class | TPt< TBSet > | 
| TBSet | operator~ (const TBSet &BSet) | 
| TBSet | operator& (const TBSet &LBSet, const TBSet &RBSet) | 
| TBSet | operator| (const TBSet &LBSet, const TBSet &RBSet) | 
| TBSet | operator^ (const TBSet &LBSet, const TBSet &RBSet) | 
| TBSet | operator& (const TBSet &LBSet, const int &BitN) | 
| TBSet | operator| (const TBSet &LBSet, const int &BitN) | 
| TBSet | operator^ (const TBSet &LBSet, const int &BitN) | 
| TBSet::TBSet | ( | const TBSet & | BSet | ) | 
      
  | 
  inline | 
Definition at line 327 of file bits.h.
References TSIn::Load(), TSIn::LoadBf(), and TSIn::LoadNewBf().

| void TBSet::Clr | ( | ) | 
      
  | 
  inline | 
Definition at line 348 of file bits.h.
References Assert, TB4Def::B4Bits, TB4Def::B4Def, and TB4Def::B4P2T.
| void TBSet::Fill | ( | ) | 
| void TBSet::Gen | ( | const int & | _Bits | ) | 
Definition at line 182 of file bits.cpp.
References TB4Def::B4Bits, TB4Def::B4P2T, B4s, B4T, Bits, Clr(), LastB4Mask, and TB4Def::MxB4.
Referenced by operator=(), TBSet(), and TXmlChDef::TXmlChDef().


| int TBSet::Get1s | ( | ) | 
Definition at line 198 of file bits.cpp.
References B4s, B4T, TB4Def::GetB4Bits(), and SetLastB4().

      
  | 
  inline | 
Definition at line 358 of file bits.h.
References Assert, and TB4Def::B4Def.
Referenced by Wr().

      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 344 of file bits.h.
References Assert, TB4Def::B4Bits, TB4Def::B4Def, and TB4Def::B4P2T.
Referenced by TXmlChDef::SetChTy().

| bool TBSet::operator== | ( | const TBSet & | BSet | ) | const | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 332 of file bits.h.
References TSOut::Save(), and TSOut::SaveBf().

      
  | 
  inline | 
      
  | 
  inlineprivate | 
| void TBSet::Wr | ( | ) | 
      
  | 
  private | 
Definition at line 315 of file bits.h.
Referenced by Clr(), Fill(), Gen(), Get1s(), operator&=(), operator=(), operator==(), operator^=(), operator|=(), and TBSet().
      
  | 
  private | 
Definition at line 317 of file bits.h.
Referenced by Clr(), Fill(), Gen(), Get1s(), operator&=(), operator=(), operator==(), operator^=(), operator|=(), and TBSet().
      
  | 
  private | 
Definition at line 315 of file bits.h.
Referenced by Gen(), operator=(), operator==(), TBSet(), and Wr().
      
  | 
  private | 
Definition at line 316 of file bits.h.
Referenced by Gen(), and operator==().