GeoModel - GeoModelCore
Main Page
Related Pages
Classes
Files
File List
GeoGenericFunctions
GeoGenericFunctions
ConstOverParameter.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
//--------------------------ConstOverParameter------------------------------//
8
// //
9
// ConstOverParameter, result of multiplying a parameter with a constant. //
10
// //
11
//--------------------------------------------------------------------------//
12
13
#ifndef ConstOverParameter_h
14
#define ConstOverParameter_h 1
15
#include "GeoGenericFunctions/AbsParameter.h"
16
17
namespace
GeoGenfun
{
18
19
class
ConstOverParameter
:
public
AbsParameter
{
20
21
PARAMETER_OBJECT_DEF(
ConstOverParameter
)
22
23
public
:
24
25
// Constructor
26
ConstOverParameter
(
double
,
const
AbsParameter
*);
27
28
// Copy constructor
29
ConstOverParameter
(
const
ConstOverParameter
&right);
30
31
// Destructor
32
virtual
~
ConstOverParameter
();
33
34
// Retreive function value
35
virtual
double
getValue()
const
;
36
37
private
:
38
39
// It is illegal to assign a ConstOverParameter
40
const
ConstOverParameter
& operator=(
const
ConstOverParameter
&right);
41
42
double
_constant;
43
AbsParameter
*_parameter;
44
};
45
}
// namespace GeoGenfun
46
#endif
GeoGenfun::ConstOverParameter
Definition:
ConstOverParameter.h:19
GeoGenfun::AbsParameter
Definition:
AbsParameter.h:28
GeoGenfun
Definition:
Abs.h:15
Generated on Thu May 28 2020 05:11:07 for GeoModel - GeoModelCore by
1.8.11