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
THash< TKey, TDat, THashFunc >::TLoadTHKeyDatInitializer< TDatInitFn > Class Template Reference

Public Member Functions

 TLoadTHKeyDatInitializer (TDatInitFn Fn)
 
void operator() (THKeyDat *HKeyDat, TShMIn &ShMIn)
 

Private Attributes

TDatInitFn DatInitFn
 

Detailed Description

template<class TKey, class TDat, class THashFunc = TDefaultHashFunc<TKey>>
template<typename TDatInitFn>
class THash< TKey, TDat, THashFunc >::TLoadTHKeyDatInitializer< TDatInitFn >

Definition at line 127 of file hash.h.

Constructor & Destructor Documentation

template<class TKey, class TDat, class THashFunc = TDefaultHashFunc<TKey>>
template<typename TDatInitFn >
THash< TKey, TDat, THashFunc >::TLoadTHKeyDatInitializer< TDatInitFn >::TLoadTHKeyDatInitializer ( TDatInitFn  Fn)
inline

Definition at line 131 of file hash.h.

131 { DatInitFn = Fn;}

Member Function Documentation

template<class TKey, class TDat, class THashFunc = TDefaultHashFunc<TKey>>
template<typename TDatInitFn >
void THash< TKey, TDat, THashFunc >::TLoadTHKeyDatInitializer< TDatInitFn >::operator() ( THKeyDat HKeyDat,
TShMIn ShMIn 
)
inline

Definition at line 132 of file hash.h.

132 { HKeyDat->LoadShM(ShMIn, DatInitFn);}

Member Data Documentation

template<class TKey, class TDat, class THashFunc = TDefaultHashFunc<TKey>>
template<typename TDatInitFn >
TDatInitFn THash< TKey, TDat, THashFunc >::TLoadTHKeyDatInitializer< TDatInitFn >::DatInitFn
private

Definition at line 129 of file hash.h.


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