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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 2829 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 2833 of file ds.h.

2833  :
2834  FRnd(PFRnd(new TFRnd(FNm, FAccess, CreateIfNo, sizeof(THd), sizeof(TRec)))){}
Definition: fl.h:516
TPt< TFRnd > PFRnd
Definition: fl.h:516
PFRnd FRnd
Definition: ds.h:2831
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 2843 of file ds.h.

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

Definition at line 2845 of file ds.h.

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

Definition at line 2840 of file ds.h.

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

Definition at line 2841 of file ds.h.

2841 {return FRnd->GetRecs();}
int GetRecs()
Definition: fl.cpp:989
PFRnd FRnd
Definition: ds.h:2831
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 2844 of file ds.h.

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

Definition at line 2846 of file ds.h.

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

Definition at line 2839 of file ds.h.

2839 {FRnd->SetRecN(RecN);}
PFRnd FRnd
Definition: ds.h:2831
void SetRecN(const int &RecN)
Definition: fl.cpp:977

Member Data Documentation

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

Definition at line 2831 of file ds.h.


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