SNAP Library 4.0, Developer Reference  2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 2917 of file ds.h.

Constructor & Destructor Documentation

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

Definition at line 2921 of file ds.h.

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

Definition at line 2922 of file ds.h.

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

Definition at line 2923 of file ds.h.

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

Definition at line 2924 of file ds.h.

References Fail.

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

Member Function Documentation

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

Definition at line 2933 of file ds.h.

References TFunc< TFuncPt >::FuncPt.

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

Definition at line 2931 of file ds.h.

References Fail.

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

Definition at line 2927 of file ds.h.

References TFunc< TFuncPt >::FuncPt.

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

Definition at line 2929 of file ds.h.

References TFunc< TFuncPt >::FuncPt.

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

Definition at line 2925 of file ds.h.

References Fail.

2925 {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: