SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
bits.h File Reference

Go to the source code of this file.

Classes

class  TB1Def
class  TB2Def
class  TB4Def
class  TFSet
class  TB8Set
class  TB32Set

Typedefs

typedef TVec< TB8SetTB8SetV
typedef TVec< TB32SetTB32SetV

Functions

void SetLastB4 ()
 TBSet ()
 TBSet (const TBSet &BSet)
PBSet Clone () const
 TBSet (const int &_Bits)
static PBSet New (const int &Bits)
 ~TBSet ()
 TBSet (TSIn &SIn)
static PBSet Load (TSIn &SIn)
void Save (TSOut &SOut) const
TBSetoperator= (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 ()
TBSetoperator~ ()
TBSetoperator&= (const TBSet &BSet)
TBSetoperator|= (const TBSet &BSet)
TBSetoperator|= (const int &BitN)
TBSetoperator^= (const TBSet &BSet)
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)

Variables

ClassTPV(TBSet, PBSet, TBSetV)
private TB4Def::TB4 
LastB4Mask
TB4Def::TB4B4T

Typedef Documentation

typedef TVec<TB32Set> TB32SetV
typedef TVec<TB8Set> TB8SetV

Function Documentation

PBSet Clone ( ) const
void Clr ( )
void Excl ( const int &  BitN)
void Fill ( )
void Gen ( const int &  _Bits)
int Get0s ( )
int Get1s ( )
bool GetBit ( const int &  BitN) const
int GetBits ( ) const
uint64 GetUInt64 ( ) const
bool In ( const int &  BitN) const
void Incl ( const int &  BitN)
static PBSet Load ( TSIn SIn) [static]
static PBSet New ( const int &  Bits) [static]
friend TBSet operator& ( const TBSet LBSet,
const TBSet RBSet 
)
friend TBSet operator& ( const TBSet LBSet,
const int &  BitN 
)
TBSet& operator&= ( const TBSet BSet)
TBSet& operator= ( const TBSet BSet)
bool operator== ( const TBSet BSet) const
friend TBSet operator^ ( const TBSet LBSet,
const TBSet RBSet 
)
friend TBSet operator^ ( const TBSet LBSet,
const int &  BitN 
)
TBSet& operator^= ( const TBSet BSet)
friend TBSet operator| ( const TBSet LBSet,
const TBSet RBSet 
)
friend TBSet operator| ( const TBSet LBSet,
const int &  BitN 
)
TBSet& operator|= ( const TBSet BSet)
TBSet& operator|= ( const int &  BitN)
friend TBSet operator~ ( const TBSet BSet)
void Save ( TSOut SOut) const
void SetBit ( const int &  BitN,
const bool &  Bool 
)
void SetLastB4 ( )
void SwitchBit ( const int &  BitN)
TBSet ( )
TBSet::TBSet ( const TBSet BSet)
TBSet ( const int &  _Bits)
TBSet ( TSIn SIn)
void Wr ( )
~TBSet ( )

Variable Documentation

ClassTPV (TBSet, PBSet, TBSetV) private TB4Def::TB4 LastB4Mask