Commit 0390fdfa authored by t steve's avatar t steve

timerange

parent 2fbe1f59
......@@ -58,6 +58,8 @@ struct curve_abc : std::unary_function<Time, Point>
virtual time_t min() const = 0;
/// \brief Returns the maximum time for wich curve is defined
virtual time_t max() const = 0;
std::pair<time_t, time_t> timeRange() {return std::make_pair(min(), max());}
/*Helpers*/
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment