SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <bits.h>
Public Member Functions | |
TB32Set () | |
TB32Set (const TB32Set &B32Set) | |
TB32Set (const uint &_B4) | |
TB32Set (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
TB32Set & | operator= (const TB32Set &BSet) |
bool | operator== (const TB32Set &BSet) const |
bool | operator< (const TB32Set &BSet) const |
bool | Empty () const |
TB32Set & | Clr () |
TB32Set & | Fill () |
bool | IsPrefix (const TB32Set &BSet, const int &MnBitN) const |
uint | GetUInt () const |
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 () const |
int | Get0s () const |
TStr | GetStr () const |
void | Wr () |
void | PutInt (const int &MnBitN, const int &MxBitN, const int &Val) |
int | GetInt (const int &MnBitN, const int &MxBitN) const |
TB32Set & | operator~ () |
TB32Set & | operator&= (const TB32Set &BSet) |
TB32Set & | operator|= (const TB32Set &BSet) |
TB32Set & | operator^= (const TB32Set &BSet) |
TB32Set & | operator>>= (const int &ShiftBits) |
TB32Set & | operator<<= (const int &ShiftBits) |
Private Attributes | |
TB4Def::TB4 | B4 |
Static Private Attributes | |
static const int | Bits =32 |
Friends | |
TB32Set | operator~ (const TB32Set &BSet) |
TB32Set | operator& (const TB32Set &LBSet, const TB32Set &RBSet) |
TB32Set | operator| (const TB32Set &LBSet, const TB32Set &RBSet) |
TB32Set | operator^ (const TB32Set &LBSet, const TB32Set &RBSet) |
|
inline |
Definition at line 247 of file bits.h.
References TSIn::LoadBf().
|
inline |
Definition at line 265 of file bits.h.
References Assert, and TB4Def::B4P2T.
Referenced by TBigNet< TNodeData, IsDir >::InvertFromSources(), and SetBit().
|
inline |
|
inline |
|
inline |
Definition at line 279 of file bits.h.
References TB4Def::B4Def, and TB4Def::GetB4Bits().
Referenced by Get0s().
|
inline |
Definition at line 273 of file bits.h.
References Assert, and TB4Def::B4Def.
Referenced by SwitchBit(), and Wr().
|
inline |
TStr TB32Set::GetStr | ( | ) | const |
|
inline |
Definition at line 268 of file bits.h.
References Assert, and TB4Def::B4Def.
Referenced by GetStr(), and TBigNet< TNodeData, IsDir >::OnlySources().
|
inline |
Definition at line 262 of file bits.h.
References Assert, TB4Def::B4Def, and TB4Def::B4P2T.
Referenced by SetBit(), and TBigNet< TNodeData, IsDir >::TBigNet().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 248 of file bits.h.
References TSOut::SaveBf().
Referenced by TBigNet< TNodeData, IsDir >::Save(), and TBigNet< TNodeData, IsDir >::SaveToDisk().
|
inline |
Definition at line 271 of file bits.h.
References Excl(), and Incl().
Referenced by SwitchBit().
|
inline |
void TB32Set::Wr | ( | ) |
|
private |
Definition at line 242 of file bits.h.
Referenced by GetUInt(), IsPrefix(), operator&=(), operator<(), operator=(), operator==(), operator^=(), and operator|=().
|
staticprivate |