COPASI API  4.16.103
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SLVSFunctor< CType > Class Template Reference

#include <common.h>

Inheritance diagram for SLVSFunctor< CType >:
Inheritance graph
[legend]
Collaboration diagram for SLVSFunctor< CType >:
Collaboration graph
[legend]

Public Member Functions

virtual C_INT operator() (double *wm, C_INT *iwm, double *x, double *tem)
 
 SLVSFunctor (CType *pType, C_INT(CType::*pMethod)(double *wm, C_INT *iwm, double *x, double *tem))
 
virtual ~SLVSFunctor ()
 
- Public Member Functions inherited from SLVS
 SLVS (C_INT(*pMethod)(double *wm, C_INT *iwm, double *x, double *tem))
 
virtual ~SLVS ()
 

Protected Member Functions

 SLVSFunctor ()
 
- Protected Member Functions inherited from SLVS
 SLVS ()
 

Private Attributes

C_INT(CType::* mpMethod )(double *wm, C_INT *iwm, double *x, double *tem)
 
CType * mpType
 

Detailed Description

template<typename CType>
class SLVSFunctor< CType >

Definition at line 206 of file common.h.

Constructor & Destructor Documentation

template<typename CType >
SLVSFunctor< CType >::SLVSFunctor ( CType *  pType,
C_INT(CType::*)(double *wm, C_INT *iwm, double *x, double *tem)  pMethod 
)
inline

Definition at line 209 of file common.h.

211  :
212  SLVS(),
213  mpType(pType),
214  mpMethod(pMethod)
215  {}
SLVS()
Definition: common.cpp:35
C_INT(CType::* mpMethod)(double *wm, C_INT *iwm, double *x, double *tem)
Definition: common.h:228
CType * mpType
Definition: common.h:227
template<typename CType >
virtual SLVSFunctor< CType >::~SLVSFunctor ( )
inlinevirtual

Definition at line 217 of file common.h.

217 {}
template<typename CType >
SLVSFunctor< CType >::SLVSFunctor ( )
inlineprotected

Definition at line 224 of file common.h.

224 : SLVS(), mpType(NULL), mpMethod(NULL) {}
SLVS()
Definition: common.cpp:35
C_INT(CType::* mpMethod)(double *wm, C_INT *iwm, double *x, double *tem)
Definition: common.h:228
CType * mpType
Definition: common.h:227

Member Function Documentation

template<typename CType >
virtual C_INT SLVSFunctor< CType >::operator() ( double *  wm,
C_INT iwm,
double *  x,
double *  tem 
)
inlinevirtual

Reimplemented from SLVS.

Definition at line 219 of file common.h.

References SLVSFunctor< CType >::mpMethod, and SLVSFunctor< CType >::mpType.

221  {return (*mpType.*mpMethod)(wm, iwm, x, tem);}
C_INT(CType::* mpMethod)(double *wm, C_INT *iwm, double *x, double *tem)
Definition: common.h:228
CType * mpType
Definition: common.h:227

Member Data Documentation

template<typename CType >
C_INT(CType::* SLVSFunctor< CType >::mpMethod)(double *wm, C_INT *iwm, double *x, double *tem)
private

Definition at line 228 of file common.h.

Referenced by SLVSFunctor< CType >::operator()().

template<typename CType >
CType* SLVSFunctor< CType >::mpType
private

Definition at line 227 of file common.h.

Referenced by SLVSFunctor< CType >::operator()().


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