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

timerange

parent 4195cf37
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> ...@@ -58,6 +58,8 @@ struct curve_abc : std::unary_function<Time, Point>
virtual time_t min() const = 0; virtual time_t min() const = 0;
/// \brief Returns the maximum time for wich curve is defined /// \brief Returns the maximum time for wich curve is defined
virtual time_t max() const = 0; virtual time_t max() const = 0;
std::pair<time_t, time_t> timeRange() {return std::make_pair(min(), max());}
/*Helpers*/ /*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