SNAP Library 6.0, Developer Reference  2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
TFunc< TFuncPt > Class Template Reference

#include <ds.h>

Public Member Functions

 TFunc ()
 
 TFunc (const TFunc &Func)
 
 TFunc (const TFuncPt &_FuncPt)
 
 TFunc (TSIn &)
 
void Save (TSOut &) const
 
TFuncoperator= (const TFunc &Func)
 
bool operator== (const TFunc &Func) const
 
bool operator< (const TFunc &) const
 
TFuncPt operator() () const
 

Private Attributes

TFuncPt FuncPt
 

Detailed Description

template<class TFuncPt>
class TFunc< TFuncPt >

Definition at line 2918 of file ds.h.

Constructor & Destructor Documentation

template<class TFuncPt >
TFunc< TFuncPt >::TFunc ( )
inline

Definition at line 2922 of file ds.h.

2922 : FuncPt(NULL){}
TFuncPt FuncPt
Definition: ds.h:2920
template<class TFuncPt >
TFunc< TFuncPt >::TFunc ( const TFunc< TFuncPt > &  Func)
inline

Definition at line 2923 of file ds.h.

2923 : FuncPt(Func.FuncPt){}
TFuncPt FuncPt
Definition: ds.h:2920
template<class TFuncPt >
TFunc< TFuncPt >::TFunc ( const TFuncPt &  _FuncPt)
inline

Definition at line 2924 of file ds.h.

2924 : FuncPt(_FuncPt){}
TFuncPt FuncPt
Definition: ds.h:2920
template<class TFuncPt >
TFunc< TFuncPt >::TFunc ( TSIn )
inline

Definition at line 2925 of file ds.h.

References Fail.

2925 {Fail;}
#define Fail
Definition: bd.h:238

Member Function Documentation

template<class TFuncPt >
TFuncPt TFunc< TFuncPt >::operator() ( ) const
inline

Definition at line 2934 of file ds.h.

References TFunc< TFuncPt >::FuncPt.

2934 {return FuncPt;}
TFuncPt FuncPt
Definition: ds.h:2920
template<class TFuncPt >
bool TFunc< TFuncPt >::operator< ( const TFunc< TFuncPt > &  ) const
inline

Definition at line 2932 of file ds.h.

References Fail.

2932  {
2933  Fail; return false;}
#define Fail
Definition: bd.h:238
template<class TFuncPt >
TFunc& TFunc< TFuncPt >::operator= ( const TFunc< TFuncPt > &  Func)
inline

Definition at line 2928 of file ds.h.

References TFunc< TFuncPt >::FuncPt.

2928  {
2929  if (this!=&Func){FuncPt=Func.FuncPt;} return *this;}
TFuncPt FuncPt
Definition: ds.h:2920
template<class TFuncPt >
bool TFunc< TFuncPt >::operator== ( const TFunc< TFuncPt > &  Func) const
inline

Definition at line 2930 of file ds.h.

References TFunc< TFuncPt >::FuncPt.

2930  {
2931  return FuncPt==Func.FuncPt;}
TFuncPt FuncPt
Definition: ds.h:2920
template<class TFuncPt >
void TFunc< TFuncPt >::Save ( TSOut ) const
inline

Definition at line 2926 of file ds.h.

References Fail.

2926 {Fail;}
#define Fail
Definition: bd.h:238

Member Data Documentation

template<class TFuncPt >
TFuncPt TFunc< TFuncPt >::FuncPt
private

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