SNAP Library 6.0, User Reference
2020-12-09 16:24:20
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 |
||
) |
TFRnd::~TFRnd | ( | ) |
void TFRnd::Flush | ( | ) |
|
inline |
|
inlinestatic |
|
inline |
|
inline |