| 
    SNAP Library 2.0, Developer Reference
    2013-05-13 16:33:57
    
   SNAP, a general purpose, high performance system for analysis and manipulation of large networks 
   | 
  
  
  
 
#include <bits.h>

Public Types | |
| typedef uint | TB4 | 
Public Member Functions | |
| TB4Def () | |
| ~TB4Def () | |
| TB4Def & | operator= (const TB4Def &) | 
Static Public Member Functions | |
| static int | GetB4Bits (const TB4 &B4) | 
| static uint | GetP2 (const int &P2Exp) | 
| static int | GetL2 (const uint &Val) | 
Public Attributes | |
| TB4 * | B4P2T | 
Static Public Attributes | |
| static const int | B4Bits = 32 | 
| static const int | MxP2Exp = TB4Def::B4Bits-1 | 
| static const TB4 | MxB4 = 0xFFFFFFFF | 
| static const TB4Def | B4Def | 
| typedef uint TB4Def::TB4 | 
| TB4Def::TB4Def | ( | ) | 
| TB4Def::~TB4Def | ( | ) |  [inline] | 
        
| int TB4Def::GetB4Bits | ( | const TB4 & | B4 | ) |  [static] | 
        
Definition at line 83 of file bits.cpp.
References TB1Def::B1Bits, TB1Def::B1BitsT, and TB1Def::MxB1.
Referenced by TB32Set::Get1s(), and TBSet::Get1s().
                                  {
  return
   TB1Def::B1Def.B1BitsT[(B4>>(0*TB1Def::B1Def.B1Bits))&TB1Def::B1Def.MxB1]+
   TB1Def::B1Def.B1BitsT[(B4>>(1*TB1Def::B1Def.B1Bits))&TB1Def::B1Def.MxB1]+
   TB1Def::B1Def.B1BitsT[(B4>>(2*TB1Def::B1Def.B1Bits))&TB1Def::B1Def.MxB1]+
   TB1Def::B1Def.B1BitsT[(B4>>(3*TB1Def::B1Def.B1Bits))&TB1Def::B1Def.MxB1];
}

| int TB4Def::GetL2 | ( | const uint & | Val | ) |  [static] | 
        
| uint TB4Def::GetP2 | ( | const int & | P2Exp | ) |  [static] | 
        
const int TB4Def::B4Bits = 32 [static] | 
        
Definition at line 54 of file bits.h.
Referenced by TBSet::Excl(), TBSet::Gen(), TFSet::Incl(), TBSet::Incl(), and TB4Def().
const TB4Def TB4Def::B4Def [static] | 
        
Definition at line 68 of file bits.h.
Referenced by TBSet::Excl(), TB32Set::Fill(), TB32Set::Get1s(), TB32Set::GetBit(), TBSet::GetBit(), TB32Set::GetInt(), GetL2(), GetP2(), TFSet::In(), TB32Set::In(), TBSet::In(), TFSet::Incl(), TB32Set::Incl(), TBSet::Incl(), and TB32Set::PutInt().
Definition at line 57 of file bits.h.
Referenced by TB32Set::Excl(), TBSet::Excl(), TBSet::Gen(), TB32Set::GetInt(), GetL2(), GetP2(), TFSet::Incl(), TB32Set::Incl(), TBSet::Incl(), TB32Set::PutInt(), TB4Def(), and ~TB4Def().
const TB4Def::TB4 TB4Def::MxB4 = 0xFFFFFFFF [static] | 
        
Definition at line 56 of file bits.h.
Referenced by TB32Set::Fill(), TBSet::Fill(), and TBSet::Gen().
const int TB4Def::MxP2Exp = TB4Def::B4Bits-1 [static] | 
        
Definition at line 55 of file bits.h.
Referenced by TBlobBs::GenBlockLenV(), GetL2(), and GetP2().