SNAP Library 2.4, Developer Reference
2015-05-11 19:40:56
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 B4, and TSIn::LoadBf().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 279 of file bits.h.
References B4, TB4Def::B4Def, and TB4Def::GetB4Bits().
Referenced by Get0s().
|
inline |
Definition at line 273 of file bits.h.
References Assert, B4, TB4Def::B4Def, and Bits.
Referenced by SwitchBit(), and Wr().
|
inline |
Definition at line 288 of file bits.h.
References Assert, B4, TB4Def::B4Def, TB4Def::B4P2T, and Bits.
TStr TB32Set::GetStr | ( | ) | const |
|
inline |
Definition at line 268 of file bits.h.
References Assert, B4, TB4Def::B4Def, and Bits.
Referenced by GetStr(), and TBigNet< TNodeData, IsDir >::OnlySources().
|
inline |
Definition at line 262 of file bits.h.
References Assert, B4, TB4Def::B4Def, TB4Def::B4P2T, and Bits.
Referenced by SetBit(), and TBigNet< TNodeData, IsDir >::TBigNet().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 284 of file bits.h.
References Assert, B4, TB4Def::B4Def, TB4Def::B4P2T, and Bits.
|
inline |
Definition at line 248 of file bits.h.
References B4, and TSOut::SaveBf().
Referenced by 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 Clr(), Empty(), Excl(), Fill(), Get1s(), GetBit(), GetInt(), GetUInt(), In(), Incl(), IsPrefix(), operator&=(), operator<(), operator<<=(), operator=(), operator==(), operator>>=(), operator^=(), operator|=(), operator~(), PutInt(), Save(), and TB32Set().
|
staticprivate |