SNAP Library 3.0, User Reference  2016-07-20 17:56:49
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 2852 of file ds.h.

Constructor & Destructor Documentation

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

Definition at line 2856 of file ds.h.

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

Definition at line 2857 of file ds.h.

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

Definition at line 2858 of file ds.h.

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

Definition at line 2859 of file ds.h.

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

Member Function Documentation

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

Definition at line 2868 of file ds.h.

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

Definition at line 2866 of file ds.h.

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

Definition at line 2862 of file ds.h.

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

Definition at line 2864 of file ds.h.

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

Definition at line 2860 of file ds.h.

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

Member Data Documentation

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

Definition at line 2854 of file ds.h.


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