GENIEGenerator
Loading...
Searching...
No Matches
genie::SmithMonizUtils::Func1Dpar< C > Class Template Reference
Inheritance diagram for genie::SmithMonizUtils::Func1Dpar< C >:
[legend]
Collaboration diagram for genie::SmithMonizUtils::Func1Dpar< C >:
[legend]

Public Member Functions

 Func1Dpar (const C &obj, double(C::*f)(double, double) const, double par)
 ~Func1Dpar ()
double operator() (double d)
Public Member Functions inherited from genie::SmithMonizUtils::Functor1D
virtual ~Functor1D ()

Private Attributes

const C & obj_
double(C::* f_ )(double, double) const
double parameter

Detailed Description

template<class C>
class genie::SmithMonizUtils::Func1Dpar< C >

Definition at line 101 of file SmithMonizUtils.h.

Constructor & Destructor Documentation

◆ Func1Dpar()

template<class C>
genie::SmithMonizUtils::Func1Dpar< C >::Func1Dpar ( const C & obj,
double(C::* )(double, double) const,
double par )
inline

◆ ~Func1Dpar()

template<class C>
genie::SmithMonizUtils::Func1Dpar< C >::~Func1Dpar ( )
inline

Definition at line 105 of file SmithMonizUtils.h.

105{}

Member Function Documentation

◆ operator()()

template<class C>
double genie::SmithMonizUtils::Func1Dpar< C >::operator() ( double d)
inlinevirtual

Implements genie::SmithMonizUtils::Functor1D.

Definition at line 106 of file SmithMonizUtils.h.

106{return (obj_.*f_)( d, parameter);}

References f_, obj_, and parameter.

Member Data Documentation

◆ f_

template<class C>
double(C::* genie::SmithMonizUtils::Func1Dpar< C >::f_) (double, double) const
private

Definition at line 109 of file SmithMonizUtils.h.

Referenced by Func1Dpar(), and operator()().

◆ obj_

template<class C>
const C& genie::SmithMonizUtils::Func1Dpar< C >::obj_
private

Definition at line 108 of file SmithMonizUtils.h.

Referenced by Func1Dpar(), and operator()().

◆ parameter

template<class C>
double genie::SmithMonizUtils::Func1Dpar< C >::parameter
private

Definition at line 110 of file SmithMonizUtils.h.

Referenced by Func1Dpar(), and operator()().


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