Skip to content
Snippets Groups Projects
Commit df17c5a3 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

mv setter implementations to headers

parent a64dbfce
No related branches found
No related tags found
1 merge request!2206mv last getter implementations to header
Pipeline #122695 passed
...@@ -49,11 +49,6 @@ Parameter::Parameter(std::string name, double value, const AttLimits& limits, do ...@@ -49,11 +49,6 @@ Parameter::Parameter(std::string name, double value, const AttLimits& limits, do
if (step <= 0.0) if (step <= 0.0)
m_step = step_for_value(value); m_step = step_for_value(value);
} }
double Parameter::value() const
{
return m_value;
}
void Parameter::setValue(double value) void Parameter::setValue(double value)
{ {
m_value = value; m_value = value;
......
...@@ -41,7 +41,7 @@ public: ...@@ -41,7 +41,7 @@ public:
AttLimits limits() const { return m_limits; } AttLimits limits() const { return m_limits; }
double value() const; double value() const { return m_value; }
void setValue(double value); void setValue(double value);
double step() const { return m_step; } double step() const { return m_step; }
......
...@@ -49,11 +49,6 @@ RealLimits RealLimits::limitless() ...@@ -49,11 +49,6 @@ RealLimits RealLimits::limitless()
{ {
return RealLimits(); return RealLimits();
} }
double RealLimits::max() const
{
return m_upper_limit;
}
bool RealLimits::isInRange(double value) const bool RealLimits::isInRange(double value) const
{ {
if (hasLowerLimit() && value < m_lower_limit) if (hasLowerLimit() && value < m_lower_limit)
......
...@@ -47,7 +47,7 @@ public: ...@@ -47,7 +47,7 @@ public:
double min() const { return m_lower_limit; } double min() const { return m_lower_limit; }
//! Returns upper limit //! Returns upper limit
double max() const; double max() const { return m_upper_limit; }
//! Returns true if proposed value is in limits range //! Returns true if proposed value is in limits range
bool isInRange(double value) const; bool isInRange(double value) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment