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
TFRec< THd, TRec > Class Template Reference

#include <ds.h>

Public Member Functions

 TFRec (const TStr &FNm, const TFAccess &FAccess, const bool &CreateIfNo)
 
 TFRec (const TFRec &)
 
TFRecoperator= (const TFRec &)
 
void SetRecN (const int &RecN)
 
int GetRecN ()
 
int GetRecs ()
 
void GetHd (THd &Hd)
 
void PutHd (const THd &Hd)
 
void GetRec (TRec &Rec, const int &RecN=-1)
 
void PutRec (const TRec &Rec, const int &RecN=-1)
 

Private Attributes

PFRnd FRnd
 

Detailed Description

template<class THd, class TRec>
class TFRec< THd, TRec >

Definition at line 2895 of file ds.h.

Constructor & Destructor Documentation

template<class THd , class TRec >
TFRec< THd, TRec >::TFRec ( const TStr FNm,
const TFAccess FAccess,
const bool &  CreateIfNo 
)
inline

Definition at line 2899 of file ds.h.

2899  :
2900  FRnd(PFRnd(new TFRnd(FNm, FAccess, CreateIfNo, sizeof(THd), sizeof(TRec)))){}
Definition: fl.h:569
TPt< TFRnd > PFRnd
Definition: fl.h:569
PFRnd FRnd
Definition: ds.h:2897
template<class THd , class TRec >
TFRec< THd, TRec >::TFRec ( const TFRec< THd, TRec > &  )

Member Function Documentation

template<class THd , class TRec >
void TFRec< THd, TRec >::GetHd ( THd &  Hd)
inline

Definition at line 2909 of file ds.h.

2909 {FRnd->GetHd(&Hd);}
void GetHd(void *Hd)
Definition: fl.h:608
PFRnd FRnd
Definition: ds.h:2897
template<class THd , class TRec >
void TFRec< THd, TRec >::GetRec ( TRec &  Rec,
const int &  RecN = -1 
)
inline

Definition at line 2911 of file ds.h.

2911 {FRnd->GetRec(&Rec, RecN);}
void GetRec(void *Rec, const int &RecN=-1)
Definition: fl.h:612
PFRnd FRnd
Definition: ds.h:2897
template<class THd , class TRec >
int TFRec< THd, TRec >::GetRecN ( )
inline

Definition at line 2906 of file ds.h.

2906 {return FRnd->GetRecN();}
int GetRecN()
Definition: fl.cpp:1038
PFRnd FRnd
Definition: ds.h:2897
template<class THd , class TRec >
int TFRec< THd, TRec >::GetRecs ( )
inline

Definition at line 2907 of file ds.h.

2907 {return FRnd->GetRecs();}
int GetRecs()
Definition: fl.cpp:1045
PFRnd FRnd
Definition: ds.h:2897
template<class THd , class TRec >
TFRec& TFRec< THd, TRec >::operator= ( const TFRec< THd, TRec > &  )
template<class THd , class TRec >
void TFRec< THd, TRec >::PutHd ( const THd &  Hd)
inline

Definition at line 2910 of file ds.h.

2910 {FRnd->PutHd(&Hd);}
void PutHd(const void *Hd)
Definition: fl.h:610
PFRnd FRnd
Definition: ds.h:2897
template<class THd , class TRec >
void TFRec< THd, TRec >::PutRec ( const TRec &  Rec,
const int &  RecN = -1 
)
inline

Definition at line 2912 of file ds.h.

2912 {FRnd->PutRec(&Rec, RecN);}
void PutRec(const void *Rec, const int &RecN=-1)
Definition: fl.h:614
PFRnd FRnd
Definition: ds.h:2897
template<class THd , class TRec >
void TFRec< THd, TRec >::SetRecN ( const int &  RecN)
inline

Definition at line 2905 of file ds.h.

2905 {FRnd->SetRecN(RecN);}
PFRnd FRnd
Definition: ds.h:2897
void SetRecN(const int &RecN)
Definition: fl.cpp:1033

Member Data Documentation

template<class THd , class TRec >
PFRnd TFRec< THd, TRec >::FRnd
private

Definition at line 2897 of file ds.h.


The documentation for this class was generated from the following file: