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

#include <CTruncatedNewton.h>

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

Public Member Functions

 FTruncatedNewtonTemplate (CType *pType, C_INT(CType::*method)(C_INT *, C_FLOAT64 *, C_FLOAT64 *, C_FLOAT64 *))
 
virtual C_INT operator() (C_INT *n, C_FLOAT64 *value, C_FLOAT64 *value1, C_FLOAT64 *value2)
 
virtual ~FTruncatedNewtonTemplate ()
 
- Public Member Functions inherited from FTruncatedNewton
virtual C_INT operator() (C_INT *C_UNUSED(n), C_FLOAT64 *C_UNUSED(value), C_FLOAT64 *C_UNUSED(value1), C_FLOAT64 *C_UNUSED(value2))
 
virtual ~FTruncatedNewton ()
 

Private Attributes

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

Detailed Description

template<class CType>
class FTruncatedNewtonTemplate< CType >

Definition at line 33 of file CTruncatedNewton.h.

Constructor & Destructor Documentation

template<class CType >
FTruncatedNewtonTemplate< CType >::FTruncatedNewtonTemplate ( CType *  pType,
C_INT(CType::*)(C_INT *, C_FLOAT64 *, C_FLOAT64 *, C_FLOAT64 *)  method 
)
inline

Definition at line 43 of file CTruncatedNewton.h.

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

45  {
46  mpType = pType;
47  mMethod = method;
48  };
C_INT(CType::* mMethod)(C_INT *, C_FLOAT64 *, C_FLOAT64 *, C_FLOAT64 *)
template<class CType >
virtual FTruncatedNewtonTemplate< CType >::~FTruncatedNewtonTemplate ( )
inlinevirtual

Definition at line 50 of file CTruncatedNewton.h.

50 {};

Member Function Documentation

template<class CType >
virtual C_INT FTruncatedNewtonTemplate< CType >::operator() ( C_INT n,
C_FLOAT64 value,
C_FLOAT64 value1,
C_FLOAT64 value2 
)
inlinevirtual

Definition at line 53 of file CTruncatedNewton.h.

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

54  {return (*mpType.*mMethod)(n, value, value1, value2);} ; // execute member function
C_INT(CType::* mMethod)(C_INT *, C_FLOAT64 *, C_FLOAT64 *, C_FLOAT64 *)

Member Data Documentation

template<class CType >
C_INT(CType::* FTruncatedNewtonTemplate< CType >::mMethod)(C_INT *, C_FLOAT64 *, C_FLOAT64 *, C_FLOAT64 *)
private
template<class CType >
CType* FTruncatedNewtonTemplate< CType >::mpType
private

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