SNAP Library 3.0, User Reference
2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <blobbs.h>
Inherits TBlobBs.
Public Member Functions | |
TMBlobBs (const TStr &BlobBsFNm, const TFAccess &_Access=faRdOnly, const int &_MxSegLen=-1) | |
~TMBlobBs () | |
TMBlobBs & | operator= (const TMBlobBs &) |
TStr | GetVersionStr () const |
TBlobPt | PutBlob (const PSIn &SIn) |
TBlobPt | PutBlob (const TBlobPt &BlobPt, const PSIn &SIn) |
PSIn | GetBlob (const TBlobPt &BlobPt) |
void | DelBlob (const TBlobPt &BlobPt) |
TBlobPt | GetFirstBlobPt () |
TBlobPt | FFirstBlobPt () |
bool | FNextBlobPt (TBlobPt &TrvBlobPt, TBlobPt &BlobPt, PSIn &BlobSIn) |
Public Member Functions inherited from TBlobBs | |
UndefCopyAssign (TBlobBs) | |
TBlobBs () | |
virtual | ~TBlobBs () |
TBlobBs (TSIn &) | |
void | Save (TSOut &) const |
void | PutVersionStr (const PFRnd &FBlobBs) |
void | AssertVersionStr (const PFRnd &FBlobBs) |
TStr | GetBlobBsStateStr (const TBlobBsState &BlobBsState) |
int | GetStateStrLen () |
void | PutBlobBsStateStr (const PFRnd &FBlobBs, const TBlobBsState &State) |
void | AssertBlobBsStateStr (const PFRnd &FBlobBs, const TBlobBsState &State) |
void | PutMxSegLen (const PFRnd &FBlobBs, const int &MxSegLen) |
int | GetMxSegLen (const PFRnd &FBlobBs) |
void | GenBlockLenV (TIntV &BlockLenV) |
void | PutBlockLenV (const PFRnd &FBlobBs, const TIntV &BlockLenV) |
void | GetBlockLenV (const PFRnd &FBlobBs, TIntV &BlockLenV) |
void | GenFFreeBlobPtV (const TIntV &BlockLenV, TBlobPtV &FFreeBlobPtV) |
void | PutFFreeBlobPtV (const PFRnd &FBlobBs, const TBlobPtV &FFreeBlobPtV) |
void | GetFFreeBlobPtV (const PFRnd &FBlobBs, TBlobPtV &FFreeBlobPtV) |
void | GetAllocInfo (const int &BfL, const TIntV &BlockLenV, int &MxBfL, int &FFreeBlobPtN) |
uint | GetBeginBlobTag () |
uint | GetEndBlobTag () |
void | PutBlobTag (const PFRnd &FBlobBs, const TBlobTag &BlobTag) |
void | AssertBlobTag (const PFRnd &FBlobBs, const TBlobTag &BlobTag) |
void | PutBlobState (const PFRnd &FBlobBs, const TBlobState &State) |
TBlobState | GetBlobState (const PFRnd &FBlobBs) |
void | AssertBlobState (const PFRnd &FBlobBs, const TBlobState &State) |
void | AssertBfCsEqFlCs (const TCs &BfCs, const TCs &FCs) |
TBlobPt | PutBlob (const TStr &Str) |
bool | FNextBlobPt (TBlobPt &TrvBlobPt, PSIn &BlobSIn) |
Static Public Member Functions | |
static PBlobBs | New (const TStr &BlobBsFNm, const TFAccess &Access=faRdOnly, const int &MxSegLen=-1) |
static bool | Exists (const TStr &BlobBsFNm) |
Static Public Member Functions inherited from TBlobBs | |
static PBlobBs | Load (TSIn &) |
Private Member Functions | |
void | LoadMain (int &Segs) |
void | SaveMain () const |
Static Private Member Functions | |
static void | GetNrFPathFMid (const TStr &BlobBsFNm, TStr &NrFPath, TStr &NrFMid) |
static TStr | GetMainFNm (const TStr &NrFPath, const TStr &NrFMid) |
static TStr | GetSegFNm (const TStr &NrFPath, const TStr &NrFMid, const int &SegN) |
Private Attributes | |
TFAccess | Access |
int | MxSegLen |
TStr | NrFPath |
TStr | NrFMid |
TBlobBsV | SegV |
int | CurSegN |
Additional Inherited Members | |
Static Public Attributes inherited from TBlobBs | |
static const int | MnBlobBfL =16 |
static const int | MxBlobFLen =1000000000 |
static const TStr | MxSegLenVNm ="MxSegLen" |
static const TStr | BlockLenVNm ="BlockLenV" |
static const TStr | FFreeBlobPtVNm ="FFreeBlobPtV" |
TMBlobBs::TMBlobBs | ( | const TStr & | BlobBsFNm, |
const TFAccess & | _Access = faRdOnly , |
||
const int & | _MxSegLen = -1 |
||
) |
Definition at line 449 of file blobbs.cpp.
TMBlobBs::~TMBlobBs | ( | ) |
Definition at line 503 of file blobbs.cpp.
|
virtual |
|
static |
Definition at line 576 of file blobbs.cpp.
|
virtual |
Implements TBlobBs.
Definition at line 555 of file blobbs.cpp.
Implements TBlobBs.
Definition at line 559 of file blobbs.cpp.
|
virtual |
Definition at line 423 of file blobbs.cpp.
|
staticprivate |
Definition at line 417 of file blobbs.cpp.
|
staticprivate |
Definition at line 428 of file blobbs.cpp.
|
inlinevirtual |
|
private |
Definition at line 433 of file blobbs.cpp.
|
inlinestatic |
Definition at line 203 of file blobbs.h.
Implements TBlobBs.
Definition at line 509 of file blobbs.cpp.
|
private |
Definition at line 441 of file blobbs.cpp.