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

#include <CPraxis.h>

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

Public Member Functions

 FPraxisTemplate (CType *pType, const C_FLOAT64 &(CType::*method)(C_FLOAT64 *, C_INT *))
 
virtual const C_FLOAT64operator() (C_FLOAT64 *value, C_INT *n)
 
virtual ~FPraxisTemplate ()
 
- Public Member Functions inherited from FPraxis
virtual const C_FLOAT64operator() (C_FLOAT64 *C_UNUSED(value), C_INT *C_UNUSED(n))
 
virtual ~FPraxis ()
 

Private Attributes

const C_FLOAT64 &(CType::* mMethod )(C_FLOAT64 *, C_INT *)
 
CType * mpType
 

Detailed Description

template<class CType>
class FPraxisTemplate< CType >

Definition at line 37 of file CPraxis.h.

Constructor & Destructor Documentation

template<class CType >
FPraxisTemplate< CType >::FPraxisTemplate ( CType *  pType,
const C_FLOAT64 &(CType::*)(C_FLOAT64 *, C_INT *)  method 
)
inline

Definition at line 47 of file CPraxis.h.

References FPraxisTemplate< CType >::mMethod, and FPraxisTemplate< CType >::mpType.

49  {
50  mpType = pType;
51  mMethod = method;
52  };
const C_FLOAT64 &(CType::* mMethod)(C_FLOAT64 *, C_INT *)
Definition: CPraxis.h:40
CType * mpType
Definition: CPraxis.h:41
template<class CType >
virtual FPraxisTemplate< CType >::~FPraxisTemplate ( )
inlinevirtual

Definition at line 54 of file CPraxis.h.

54 {};

Member Function Documentation

template<class CType >
virtual const C_FLOAT64& FPraxisTemplate< CType >::operator() ( C_FLOAT64 value,
C_INT n 
)
inlinevirtual

Definition at line 57 of file CPraxis.h.

References FPraxisTemplate< CType >::mMethod, and FPraxisTemplate< CType >::mpType.

58  {return (*mpType.*mMethod)(value, n);} ; // execute member function
const C_FLOAT64 &(CType::* mMethod)(C_FLOAT64 *, C_INT *)
Definition: CPraxis.h:40
CType * mpType
Definition: CPraxis.h:41

Member Data Documentation

template<class CType >
const C_FLOAT64&(CType::* FPraxisTemplate< CType >::mMethod)(C_FLOAT64 *, C_INT *)
private
template<class CType >
CType* FPraxisTemplate< CType >::mpType
private

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