GeoModel - GeoModelCore
ParameterComposition.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 //--------------------------ParameterComposition----------------------------//
8 // //
9 // ParameterComposition, result of composition of two parameters //
10 // //
11 //--------------------------------------------------------------------------//
12 
13 #ifndef ParameterComposition_hh
14 #define ParameterComposition_hh
15 #include "GeoGenericFunctions/AbsFunction.h"
16 #include "GeoGenericFunctions/AbsParameter.h"
17 
18 namespace GeoGenfun {
19 
21 
22  PARAMETER_OBJECT_DEF(ParameterComposition)
23 
24  public:
25 
26  // Constructor
27  ParameterComposition(const AbsFunction *arg1, const AbsParameter *arg2);
28 
29  // Copy constructor
31 
32  // Destructor
33  virtual ~ParameterComposition();
34 
35  // Retreive parameter value
36  virtual double getValue() const;
37 
38 
39  private:
40 
41  // It is illegal to assign a ParameterComposition
42  const ParameterComposition & operator=(const ParameterComposition &right);
43 
44  const AbsFunction *_arg1;
45  AbsParameter *_arg2;
46  };
47 } // namespace GeoGenfun
48 #endif
Definition: Abs.h:15