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

#include <FminBrent.h>

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

Public Member Functions

 FDescentTemplate (CType *pType, C_FLOAT64(CType::*method)(const C_FLOAT64 &))
 
virtual C_FLOAT64 operator() (const C_FLOAT64 &value)
 
virtual ~FDescentTemplate ()
 
- Public Member Functions inherited from FDescent
virtual C_FLOAT64 operator() (const C_FLOAT64 &C_UNUSED(value))
 
virtual ~FDescent ()
 

Private Attributes

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

Detailed Description

template<class CType>
class FDescentTemplate< CType >

Definition at line 90 of file FminBrent.h.

Constructor & Destructor Documentation

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

Definition at line 100 of file FminBrent.h.

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

102  {
103  mpType = pType;
104  mMethod = method;
105  };
CType * mpType
Definition: FminBrent.h:94
C_FLOAT64(CType::* mMethod)(const C_FLOAT64 &)
Definition: FminBrent.h:93
template<class CType >
virtual FDescentTemplate< CType >::~FDescentTemplate ( )
inlinevirtual

Definition at line 107 of file FminBrent.h.

107 {};

Member Function Documentation

template<class CType >
virtual C_FLOAT64 FDescentTemplate< CType >::operator() ( const C_FLOAT64 value)
inlinevirtual

Definition at line 110 of file FminBrent.h.

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

111  {return (*mpType.*mMethod)(value);} ; // execute member function
CType * mpType
Definition: FminBrent.h:94
C_FLOAT64(CType::* mMethod)(const C_FLOAT64 &)
Definition: FminBrent.h:93

Member Data Documentation

template<class CType >
C_FLOAT64(CType::* FDescentTemplate< CType >::mMethod)(const C_FLOAT64 &)
private
template<class CType >
CType* FDescentTemplate< CType >::mpType
private

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