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