SNAP Library 2.0, User Reference  2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TFRec< THd, TRec > Class Template Reference

#include <ds.h>

List of all members.

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 3752 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 3756 of file ds.h.

                                                                         :
    FRnd(PFRnd(new TFRnd(FNm, FAccess, CreateIfNo, sizeof(THd), sizeof(TRec)))){}
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 3766 of file ds.h.

{FRnd->GetHd(&Hd);}
template<class THd , class TRec >
void TFRec< THd, TRec >::GetRec ( TRec &  Rec,
const int &  RecN = -1 
) [inline]

Definition at line 3768 of file ds.h.

{FRnd->GetRec(&Rec, RecN);}
template<class THd , class TRec >
int TFRec< THd, TRec >::GetRecN ( ) [inline]

Definition at line 3763 of file ds.h.

{return FRnd->GetRecN();}
template<class THd , class TRec >
int TFRec< THd, TRec >::GetRecs ( ) [inline]

Definition at line 3764 of file ds.h.

{return FRnd->GetRecs();}
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 3767 of file ds.h.

{FRnd->PutHd(&Hd);}
template<class THd , class TRec >
void TFRec< THd, TRec >::PutRec ( const TRec &  Rec,
const int &  RecN = -1 
) [inline]

Definition at line 3769 of file ds.h.

{FRnd->PutRec(&Rec, RecN);}
template<class THd , class TRec >
void TFRec< THd, TRec >::SetRecN ( const int &  RecN) [inline]

Definition at line 3762 of file ds.h.

{FRnd->SetRecN(RecN);}

Member Data Documentation

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

Definition at line 3754 of file ds.h.


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