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