Skip to content
Snippets Groups Projects
Commit 0390fdfa authored by t steve's avatar t steve
Browse files

timerange

parent 2fbe1f59
No related branches found
No related tags found
No related merge requests found
......@@ -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*/
};
......
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