SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
fl.h File Reference

Go to the source code of this file.

Classes

class  TCs
class  TSOutMnp
class  TSBase
class  TSIn
class  TSOut
class  TSInOut
class  TStdIn
class  TStdOut
class  TFIn
class  TFOut
class  TFInOut
class  TMIn
class  TMOut
class  TChRet
class  TLnRet
class  TFile

Typedefs

typedef TPt< TSInPSIn
typedef TPt< TSOutPSOut
typedef TPt< TSInOutPSInOut

Enumerations

enum  TFAccess {
  faUndef, faCreate, faUpdate, faAppend,
  faRdOnly, faRestore
}

Functions

template<class T >
TSInoperator>> (TSIn &SIn, T &Val)
template<class T >
TSOutoperator<< (TSOut &SOut, const T &Val)
 TFRnd (const TStr &_FNm, const TFAccess &FAccess, const bool &CreateIfNo=true, const int &_HdLen=-1, const int &_RecLen=-1)
static PFRnd New (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 TStr GetStrFromFAccess (const TFAccess &FAccess)
static TFAccess GetFAccessFromStr (const TStr &Str)

Variables

ClassTP(TFRnd, PFRnd) private TSStr FNm
bool RecAct
int HdLen
int RecLen

Typedef Documentation

typedef TPt<TSIn> PSIn
typedef TPt<TSInOut> PSInOut
typedef TPt<TSOut> PSOut

Enumeration Type Documentation

enum TFAccess
Enumerator:
faUndef 
faCreate 
faUpdate 
faAppend 
faRdOnly 
faRestore 

Function Documentation

bool Empty ( )
bool Eof ( )
void Flush ( )
void GetBf ( void *  Bf,
const TSize BfL 
)
char GetCh ( )
TCs GetCs ( )
TFAccess TFRnd::GetFAccessFromStr ( const TStr Str) [static]
int GetFLen ( )
TStr GetFNm ( ) const
int GetFPos ( )
void GetHd ( void *  Hd)
int GetInt ( )
void GetRec ( void *  Rec,
const int &  RecN = -1 
)
int GetRecN ( )
int GetRecs ( )
PSIn GetSIn ( const int &  SInLen,
TCs Cs 
)
TStr GetStr ( const int &  StrLen)
TStr GetStr ( const int &  MxStrLen,
bool &  IsOk 
)
TStr TFRnd::GetStrFromFAccess ( const TFAccess FAccess) [static]
void TFRnd::MoveFPos ( const int &  DFPos)
static PFRnd New ( const TStr FNm,
const TFAccess FAccess,
const bool &  CreateIfNo = true,
const int &  HdLen = -1,
const int &  RecLen = -1 
) [static]
template<class T >
TSOut& operator<< ( TSOut SOut,
const T &  Val 
)
template<class T >
TSIn& operator>> ( TSIn SIn,
T &  Val 
)
void PutBf ( const void *  Bf,
const TSize BfL 
)
void PutCh ( const char &  Ch)
void PutCh ( const char &  Ch,
const int &  Chs 
)
void PutCs ( const TCs Cs)
void PutHd ( const void *  Hd)
void PutInt ( const int &  Int)
void PutRec ( const void *  Rec,
const int &  RecN = -1 
)
void TFRnd::PutSIn ( const PSIn SIn,
TCs Cs 
)
void PutStr ( const TStr Str)
void PutUCh ( const uchar UCh)
void PutUInt ( const uint UInt)
void SetFPos ( const int &  FPos)
void SetHdRecLen ( const int &  _HdLen,
const int &  _RecLen 
)
void SetRecN ( const int &  RecN)
TFRnd::TFRnd ( const TStr _FNm,
const TFAccess FAccess,
const bool &  CreateIfNo = true,
const int &  _HdLen = -1,
const int &  _RecLen = -1 
)

Variable Documentation

ClassTP (TFRnd, PFRnd) private TSStr FNm
int HdLen
bool RecAct
int RecLen