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
TKeyDatFl< TKey, TDat, THashFunc > Class Template Reference

List of all members.

Public Member Functions

 TKeyDatFl (const TStr &FNm)
int Len () const
bool Next ()
const TKey & GetKey () const
TKey & GetKey ()
const TDat & GetDat () const
TDat & GetDat ()

Static Public Member Functions

static void Save (const TStr &OutFNm, const THash< TKey, TDat, THashFunc > &Hash)
static void Save (TSOut &SOut, const THash< TKey, TDat, THashFunc > &Hash)
static void LoadHash (const TStr &InFNm, THash< TKey, TDat, THashFunc > &Hash, const int &LoadN=-1)
static void LoadHash (TSIn &SIn, THash< TKey, TDat, THashFunc > &Hash, int LoadN=-1)
static void LoadKeyV (TSIn &SIn, TVec< TKey > &KeyV, int LoadN=-1)
static void LoadDatV (TSIn &SIn, TVec< TDat > &DatV, int LoadN=-1)

template<class TKey, class TDat, class THashFunc = TDefaultHashFunc<TKey>>
class TKeyDatFl< TKey, TDat, THashFunc >


Constructor & Destructor Documentation

template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
TKeyDatFl< TKey, TDat, THashFunc >::TKeyDatFl ( const TStr FNm) [inline]

Member Function Documentation

template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
const TDat& TKeyDatFl< TKey, TDat, THashFunc >::GetDat ( ) const [inline]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
TDat& TKeyDatFl< TKey, TDat, THashFunc >::GetDat ( ) [inline]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
const TKey& TKeyDatFl< TKey, TDat, THashFunc >::GetKey ( ) const [inline]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
TKey& TKeyDatFl< TKey, TDat, THashFunc >::GetKey ( ) [inline]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
int TKeyDatFl< TKey, TDat, THashFunc >::Len ( ) const [inline]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
static void TKeyDatFl< TKey, TDat, THashFunc >::LoadDatV ( TSIn SIn,
TVec< TDat > &  DatV,
int  LoadN = -1 
) [inline, static]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
static void TKeyDatFl< TKey, TDat, THashFunc >::LoadHash ( const TStr InFNm,
THash< TKey, TDat, THashFunc > &  Hash,
const int &  LoadN = -1 
) [inline, static]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
static void TKeyDatFl< TKey, TDat, THashFunc >::LoadHash ( TSIn SIn,
THash< TKey, TDat, THashFunc > &  Hash,
int  LoadN = -1 
) [inline, static]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
static void TKeyDatFl< TKey, TDat, THashFunc >::LoadKeyV ( TSIn SIn,
TVec< TKey > &  KeyV,
int  LoadN = -1 
) [inline, static]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
bool TKeyDatFl< TKey, TDat, THashFunc >::Next ( ) [inline]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
static void TKeyDatFl< TKey, TDat, THashFunc >::Save ( const TStr OutFNm,
const THash< TKey, TDat, THashFunc > &  Hash 
) [inline, static]
template<class TKey , class TDat , class THashFunc = TDefaultHashFunc<TKey>>
static void TKeyDatFl< TKey, TDat, THashFunc >::Save ( TSOut SOut,
const THash< TKey, TDat, THashFunc > &  Hash 
) [inline, static]

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