SNAP Library 2.0, User Reference
2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <blobbs.h>
Public Member Functions | |
TBlobPt () | |
TBlobPt (const TBlobPt &Pt) | |
TBlobPt (const uchar &_Seg, const uint &_Addr, const TB8Set &_FSet1, const TB8Set &_FSet2, const TB8Set &_FSet3) | |
TBlobPt (const uchar &_Seg, const uint &_Addr) | |
TBlobPt (const uint &_Addr) | |
TBlobPt (const int &_Addr) | |
~TBlobPt () | |
TBlobPt (TSIn &SIn) | |
void | Save (TSOut &SOut) const |
TBlobPt & | operator= (const TBlobPt &Pt) |
bool | operator== (const TBlobPt &Pt) const |
bool | operator< (const TBlobPt &Pt) const |
int | GetMemUsed () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
bool | Empty () const |
void | Clr () |
void | PutSeg (const uchar &_Seg) |
uchar | GetSeg () const |
void | PutAddr (const uint &_Addr) |
uint | GetAddr () const |
void | PutFlag (const int &FlagN, const bool &Val) |
bool | IsFlag (const int &FlagN) const |
void | MergeFlags (const TBlobPt &Pt) |
void | PutFSet (const int &FSetN, const TB8Set &FSet) |
TB8Set | GetFSet (const int &FSetN) |
void | Save (const PFRnd &FRnd) const |
void | SaveAddr (const PFRnd &FRnd) const |
TStr | GetAddrStr () const |
TStr | GetStr () const |
Static Public Member Functions | |
static TBlobPt | Load (const PFRnd &FRnd) |
static TBlobPt | LoadAddr (const PFRnd &FRnd, const uchar &Seg=0) |
Public Attributes | |
uchar | Seg |
uint | Addr |
TB8Set | FSet1 |
TB8Set | FSet2 |
TB8Set | FSet3 |
Static Public Attributes | |
static const int | MnBlobBfL |
static const int | Flags = 24 |
TBlobPt::TBlobPt | ( | ) | [inline] |
TBlobPt::TBlobPt | ( | const TBlobPt & | Pt | ) | [inline] |
TBlobPt::TBlobPt | ( | const uchar & | _Seg, |
const uint & | _Addr | ||
) | [inline] |
TBlobPt::TBlobPt | ( | const uint & | _Addr | ) | [inline] |
TBlobPt::TBlobPt | ( | const int & | _Addr | ) | [inline] |
TBlobPt::~TBlobPt | ( | ) | [inline] |
TBlobPt::TBlobPt | ( | TSIn & | SIn | ) | [inline] |
bool TBlobPt::Empty | ( | ) | const [inline] |
uint TBlobPt::GetAddr | ( | ) | const [inline] |
TStr TBlobPt::GetAddrStr | ( | ) | const [inline] |
Definition at line 76 of file blobbs.h.
{ TChA AddrChA; AddrChA+=TInt::GetStr(Seg); AddrChA+=':'; AddrChA+=TUInt::GetStr(Addr); return AddrChA;}
TB8Set TBlobPt::GetFSet | ( | const int & | FSetN | ) |
int TBlobPt::GetMemUsed | ( | ) | const [inline] |
int TBlobPt::GetPrimHashCd | ( | ) | const [inline] |
int TBlobPt::GetSecHashCd | ( | ) | const [inline] |
uchar TBlobPt::GetSeg | ( | ) | const [inline] |
TStr TBlobPt::GetStr | ( | ) | const |
Definition at line 43 of file blobbs.cpp.
{ TChA ChA; ChA+='['; if (Empty()){ ChA+="Null"; } else { ChA+=TUInt::GetStr(uint(Seg)); ChA+=':'; ChA+=TUInt::GetStr(Addr); for (int FlagN=0; FlagN<Flags; FlagN++){ if (IsFlag(FlagN)){ ChA+='{'; ChA+=TInt::GetStr(FlagN); ChA+='}';} } } ChA+=']'; return ChA; }
bool TBlobPt::IsFlag | ( | const int & | FlagN | ) | const |
static TBlobPt TBlobPt::Load | ( | const PFRnd & | FRnd | ) | [inline, static] |
static TBlobPt TBlobPt::LoadAddr | ( | const PFRnd & | FRnd, |
const uchar & | Seg = 0 |
||
) | [inline, static] |
void TBlobPt::MergeFlags | ( | const TBlobPt & | Pt | ) | [inline] |
bool TBlobPt::operator< | ( | const TBlobPt & | Pt | ) | const [inline] |
bool TBlobPt::operator== | ( | const TBlobPt & | Pt | ) | const [inline] |
void TBlobPt::PutAddr | ( | const uint & | _Addr | ) | [inline] |
void TBlobPt::PutFlag | ( | const int & | FlagN, |
const bool & | Val | ||
) |
void TBlobPt::PutFSet | ( | const int & | FSetN, |
const TB8Set & | FSet | ||
) |
void TBlobPt::PutSeg | ( | const uchar & | _Seg | ) | [inline] |
void TBlobPt::Save | ( | TSOut & | SOut | ) | const [inline] |
void TBlobPt::Save | ( | const PFRnd & | FRnd | ) | const [inline] |
void TBlobPt::SaveAddr | ( | const PFRnd & | FRnd | ) | const [inline] |
const int TBlobPt::Flags = 24 [static] |
const int TBlobPt::MnBlobBfL [static] |