GeoModel - GeoModelCore
Main Page
Related Pages
Classes
Files
File List
GeoGenericFunctions
GeoGenericFunctions
ConstTimesParameter.h
1
//==========================================================================//
2
// Imported from the QAT library (qat.pitt.edu) by the copyright holder //
3
// Joe Boudreau. Software licensed under the terms and conditions of the //
4
// GNU Lesser Public License v3. //
5
//==========================================================================//
6
7
8
//--------------------------ConstTimesParameter-----------------------------//
9
// //
10
// ConstTimesParameter, result of multiplying a parameter and a constant. //
11
// //
12
//--------------------------------------------------------------------------//
13
14
#ifndef ConstTimesParameter_h
15
#define ConstTimesParameter_h 1
16
#include "GeoGenericFunctions/AbsParameter.h"
17
18
namespace
GeoGenfun
{
19
20
class
ConstTimesParameter
:
public
AbsParameter
{
21
22
PARAMETER_OBJECT_DEF(
ConstTimesParameter
)
23
24
public
:
25
26
// Constructor
27
ConstTimesParameter
(
double
,
const
AbsParameter
*);
28
29
// Copy constructor
30
ConstTimesParameter
(
const
ConstTimesParameter
&right);
31
32
// Destructor
33
virtual
~
ConstTimesParameter
();
34
35
// Retreive function value
36
virtual
double
getValue()
const
;
37
38
private
:
39
40
// It is illegal to assign a ConstTimesParameter
41
const
ConstTimesParameter
& operator=(
const
ConstTimesParameter
&right);
42
43
double
_constant;
44
AbsParameter
*_parameter;
45
};
46
}
// namespace GeoGenfun
47
#endif
GeoGenfun::AbsParameter
Definition:
AbsParameter.h:28
GeoGenfun::ConstTimesParameter
Definition:
ConstTimesParameter.h:20
GeoGenfun
Definition:
Abs.h:15
Generated on Thu May 28 2020 05:11:07 for GeoModel - GeoModelCore by
1.8.11