SNAP Library 4.0, Developer Reference
2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <bits.h>
Public Member Functions | |
TB8Set () | |
TB8Set (const TB8Set &B8Set) | |
TB8Set (const uchar &_B1) | |
TB8Set (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
TB8Set & | operator= (const TB8Set &BSet) |
TB8Set & | operator= (const uchar &_B1) |
bool | operator== (const TB8Set &BSet) const |
bool | operator< (const TB8Set &BSet) const |
bool | Empty () const |
TB8Set & | Clr () |
TB8Set & | Fill () |
bool | IsPrefix (const TB8Set &BSet, const int &MnBitN) const |
uchar | GetUCh () 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 |
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 |
TB8Set & | operator~ () |
TB8Set & | operator&= (const TB8Set &BSet) |
TB8Set & | operator|= (const TB8Set &BSet) |
TB8Set & | operator|= (const int &BitN) |
TB8Set & | operator^= (const TB8Set &BSet) |
TB8Set & | operator>>= (const int &ShiftBits) |
TB8Set & | operator<<= (const int &ShiftBits) |
Private Attributes | |
TB1Def::TB1 | B1 |
Static Private Attributes | |
static const int | Bits =8 |
Friends | |
TB8Set | operator~ (const TB8Set &BSet) |
TB8Set | operator& (const TB8Set &LBSet, const TB8Set &RBSet) |
TB8Set | operator| (const TB8Set &LBSet, const TB8Set &RBSet) |
TB8Set | operator^ (const TB8Set &LBSet, const TB8Set &RBSet) |
|
inline |
Definition at line 174 of file bits.h.
References B1, and TSIn::LoadBf().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 205 of file bits.h.
References B1, TB1Def::B1Def, and TB1Def::GetB1Bits().
Referenced by Get0s().
|
inline |
Definition at line 201 of file bits.h.
References Assert, B1, TB1Def::B1Def, and Bits.
Referenced by TBlobPt::IsFlag(), and Wr().
|
inline |
Definition at line 214 of file bits.h.
References Assert, B1, TB1Def::B1Def, TB1Def::B1P2T, and Bits.
TStr TB8Set::GetStr | ( | ) | const |
|
inline |
|
inline |
Definition at line 190 of file bits.h.
References Assert, B1, TB1Def::B1Def, TB1Def::B1P2T, and Bits.
Referenced by operator|=(), and SetBit().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 175 of file bits.h.
References B1, and TSOut::SaveBf().
|
inline |
Definition at line 199 of file bits.h.
References Excl(), and Incl().
Referenced by TBlobPt::PutFlag().
void TB8Set::Wr | ( | ) |
|
private |
Definition at line 169 of file bits.h.
Referenced by Clr(), Empty(), Excl(), Fill(), Get1s(), GetBit(), GetInt(), GetUCh(), In(), Incl(), IsPrefix(), operator&=(), operator<(), operator<<=(), operator=(), operator==(), operator>>=(), operator^=(), operator|=(), operator~(), PutInt(), Save(), and TB8Set().
|
staticprivate |