SNAP Library , Developer Reference  2013-01-07 14:03:36
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>

Collaboration diagram for TFRec< THd, TRec >:

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 2385 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 2389 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 2399 of file ds.h.

References TFRec< THd, TRec >::FRnd, and TFRnd::GetHd().

{FRnd->GetHd(&Hd);}

Here is the call graph for this function:

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

Definition at line 2401 of file ds.h.

References TFRec< THd, TRec >::FRnd, and TFRnd::GetRec().

{FRnd->GetRec(&Rec, RecN);}

Here is the call graph for this function:

template<class THd , class TRec >
int TFRec< THd, TRec >::GetRecN ( ) [inline]

Definition at line 2396 of file ds.h.

References TFRec< THd, TRec >::FRnd, and TFRnd::GetRecN().

{return FRnd->GetRecN();}

Here is the call graph for this function:

template<class THd , class TRec >
int TFRec< THd, TRec >::GetRecs ( ) [inline]

Definition at line 2397 of file ds.h.

References TFRec< THd, TRec >::FRnd, and TFRnd::GetRecs().

{return FRnd->GetRecs();}

Here is the call graph for this function:

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

References TFRec< THd, TRec >::FRnd, and TFRnd::PutHd().

{FRnd->PutHd(&Hd);}

Here is the call graph for this function:

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

Definition at line 2402 of file ds.h.

References TFRec< THd, TRec >::FRnd, and TFRnd::PutRec().

{FRnd->PutRec(&Rec, RecN);}

Here is the call graph for this function:

template<class THd , class TRec >
void TFRec< THd, TRec >::SetRecN ( const int &  RecN) [inline]

Definition at line 2395 of file ds.h.

References TFRec< THd, TRec >::FRnd, and TFRnd::SetRecN().

{FRnd->SetRecN(RecN);}

Here is the call graph for this function:


Member Data Documentation


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