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