| 
    SNAP Library 2.3, Developer Reference
    2014-06-16 11:58:46
    
   SNAP, a general purpose, high performance system for analysis and manipulation of large networks 
   | 
 
#include <fl.h>

Public Member Functions | |
| TFRnd (const TStr &_FNm, const TFAccess &FAccess, const bool &CreateIfNo=true, const int &_HdLen=-1, const int &_RecLen=-1) | |
| ~TFRnd () | |
| TStr | GetFNm () const | 
| void | SetHdRecLen (const int &_HdLen, const int &_RecLen) | 
| void | SetFPos (const int &FPos) | 
| void | MoveFPos (const int &DFPos) | 
| int | GetFPos () | 
| int | GetFLen () | 
| bool | Empty () | 
| bool | Eof () | 
| void | SetRecN (const int &RecN) | 
| int | GetRecN () | 
| int | GetRecs () | 
| void | GetBf (void *Bf, const TSize &BfL) | 
| void | PutBf (const void *Bf, const TSize &BfL) | 
| void | Flush () | 
| void | GetHd (void *Hd) | 
| void | PutHd (const void *Hd) | 
| void | GetRec (void *Rec, const int &RecN=-1) | 
| void | PutRec (const void *Rec, const int &RecN=-1) | 
| void | PutCs (const TCs &Cs) | 
| TCs | GetCs () | 
| void | PutCh (const char &Ch) | 
| void | PutCh (const char &Ch, const int &Chs) | 
| char | GetCh () | 
| void | PutUCh (const uchar &UCh) | 
| uchar | GetUCh () | 
| void | PutInt (const int &Int) | 
| int | GetInt () | 
| void | PutUInt (const uint &UInt) | 
| uint | GetUInt () | 
| void | PutStr (const TStr &Str) | 
| TStr | GetStr (const int &StrLen) | 
| TStr | GetStr (const int &MxStrLen, bool &IsOk) | 
| void | PutSIn (const PSIn &SIn, TCs &Cs) | 
| PSIn | GetSIn (const int &SInLen, TCs &Cs) | 
Static Public Member Functions | |
| static PFRnd | New (const TStr &FNm, const TFAccess &FAccess, const bool &CreateIfNo=true, const int &HdLen=-1, const int &RecLen=-1) | 
| static TStr | GetStrFromFAccess (const TFAccess &FAccess) | 
| static TFAccess | GetFAccessFromStr (const TStr &Str) | 
Private Member Functions | |
| void | RefreshFPos () | 
| TFRnd (const TFRnd &) | |
| TFRnd & | operator= (const TFRnd &) | 
Private Attributes | |
| TCRef | CRef | 
| TFileId | FileId | 
| TSStr | FNm | 
| bool | RecAct | 
| int | HdLen | 
| int | RecLen | 
Friends | |
| class | TPt< TFRnd > | 
      
  | 
  private | 
| TFRnd::TFRnd | ( | const TStr & | _FNm, | 
| const TFAccess & | FAccess, | ||
| const bool & | CreateIfNo = true,  | 
        ||
| const int & | _HdLen = -1,  | 
        ||
| const int & | _RecLen = -1  | 
        ||
| ) | 
      
  | 
  inline | 
Definition at line 519 of file fl.h.
Referenced by TGBlobBs::TGBlobBs().

| void TFRnd::Flush | ( | ) | 
Definition at line 851 of file fl.cpp.
References EAssertR, FileId, and FNm.
Referenced by TGBlobBs::DelBlob(), TGBlobBs::PutBlob(), TGBlobBs::TGBlobBs(), and TGBlobBs::~TGBlobBs().

| void TFRnd::GetBf | ( | void * | Bf, | 
| const TSize & | BfL | ||
| ) | 
      
  | 
  inline | 
Definition at line 543 of file fl.h.
Referenced by TBlobBs::AssertBlobState(), and TBlobBs::GetBlobState().

      
  | 
  inline | 
Definition at line 540 of file fl.h.
Referenced by TGBlobBs::FNextBlobPt(), and TGBlobBs::GetBlob().

| int TFRnd::GetFLen | ( | ) | 
| TStr TFRnd::GetFNm | ( | ) | const | 
Definition at line 788 of file fl.cpp.
References TSStr::CStr(), and FNm.

| int TFRnd::GetFPos | ( | ) | 
Definition at line 804 of file fl.cpp.
References EAssertR, FileId, and FNm.
Referenced by TGBlobBs::DelBlob(), TGBlobBs::FNextBlobPt(), GetFLen(), GetRecN(), GetStr(), TGBlobBs::PutBlob(), and TGBlobBs::TGBlobBs().

      
  | 
  inline | 
Definition at line 530 of file fl.h.
References IAssert.
Referenced by TFRec< THd, TRec >::GetHd().

      
  | 
  inline | 
Definition at line 547 of file fl.h.
Referenced by TGBlobBs::DelBlob(), TGBlobBs::FNextBlobPt(), TGBlobBs::GetBlob(), TBlobBs::GetBlockLenV(), TBlobBs::GetFFreeBlobPtV(), TBlobBs::GetMxSegLen(), and TGBlobBs::PutBlob().

      
  | 
  inline | 
Definition at line 534 of file fl.h.
References IAssert.
Referenced by TFRec< THd, TRec >::GetRec().

| int TFRnd::GetRecN | ( | ) | 
| int TFRnd::GetRecs | ( | ) | 
Definition at line 898 of file fl.cpp.
References GetBf(), and TCs::GetCsFromBf().
Referenced by TGBlobBs::FNextBlobPt(), and TGBlobBs::GetBlob().


| TStr TFRnd::GetStr | ( | const int & | StrLen | ) | 
Definition at line 879 of file fl.cpp.
References EAssertR, FNm, GetBf(), and TCh::NullCh.
Referenced by TBlobBs::AssertBlobBsStateStr(), TBlobBs::AssertVersionStr(), TBlobBs::GetBlockLenV(), TBlobBs::GetFFreeBlobPtV(), and TBlobBs::GetMxSegLen().


| TStr TFRnd::GetStr | ( | const int & | MxStrLen, | 
| bool & | IsOk | ||
| ) | 
      
  | 
  inline | 
Definition at line 545 of file fl.h.
Referenced by TBlobPt::Load().

      
  | 
  inline | 
Definition at line 549 of file fl.h.
Referenced by TBlobBs::AssertBlobTag(), TBlobPt::Load(), and TBlobPt::LoadAddr().

| void TFRnd::MoveFPos | ( | const int & | DFPos | ) | 
Definition at line 798 of file fl.cpp.
References EAssertR, FileId, FNm, and SEEK_CUR.
Referenced by TGBlobBs::FNextBlobPt(), and TGBlobBs::GetBlob().

      
  | 
  inlinestatic | 
Definition at line 505 of file fl.h.
Referenced by TGBlobBs::TGBlobBs().

| void TFRnd::PutBf | ( | const void * | Bf, | 
| const TSize & | BfL | ||
| ) | 
      
  | 
  inline | 
Definition at line 541 of file fl.h.
Referenced by TGBlobBs::DelBlob(), TGBlobBs::PutBlob(), and TBlobBs::PutBlobState().

| void TFRnd::PutCh | ( | const char & | Ch, | 
| const int & | Chs | ||
| ) | 
      
  | 
  inline | 
Definition at line 539 of file fl.h.
Referenced by TGBlobBs::PutBlob().

      
  | 
  inline | 
Definition at line 532 of file fl.h.
References IAssert.
Referenced by TFRec< THd, TRec >::PutHd().

      
  | 
  inline | 
Definition at line 546 of file fl.h.
Referenced by TGBlobBs::PutBlob(), TBlobBs::PutBlockLenV(), TBlobBs::PutFFreeBlobPtV(), and TBlobBs::PutMxSegLen().

      
  | 
  inline | 
Definition at line 536 of file fl.h.
References IAssert.
Referenced by TFRec< THd, TRec >::PutRec().

Definition at line 889 of file fl.cpp.
References TSIn::GetBf(), TCs::GetCsFromBf(), TSIn::Len(), and PutBf().
Referenced by TGBlobBs::PutBlob().


| void TFRnd::PutStr | ( | const TStr & | Str | ) | 
Definition at line 864 of file fl.cpp.
References TStr::CStr(), TStr::Len(), and PutBf().
Referenced by TBlobBs::PutBlobBsStateStr(), TBlobBs::PutBlockLenV(), TBlobBs::PutFFreeBlobPtV(), TBlobBs::PutMxSegLen(), and TBlobBs::PutVersionStr().


      
  | 
  inline | 
Definition at line 544 of file fl.h.
Referenced by TBlobPt::Save().

      
  | 
  inline | 
Definition at line 548 of file fl.h.
Referenced by TBlobBs::PutBlobTag(), TBlobPt::Save(), and TBlobPt::SaveAddr().

      
  | 
  private | 
| void TFRnd::SetFPos | ( | const int & | FPos | ) | 
Definition at line 792 of file fl.cpp.
References EAssertR, FileId, FNm, and SEEK_SET.
Referenced by TGBlobBs::DelBlob(), TGBlobBs::FNextBlobPt(), TGBlobBs::GetBlob(), GetFLen(), TGBlobBs::PutBlob(), SetRecN(), TGBlobBs::TGBlobBs(), and TGBlobBs::~TGBlobBs().

      
  | 
  inline | 
| void TFRnd::SetRecN | ( | const int & | RecN | ) | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |