From 878c80d8ca6e159038ff8e6ee974f54233f7a3d9 Mon Sep 17 00:00:00 2001 From: Dimitri Stolnikov Date: Sat, 16 Feb 2013 12:19:47 +0100 Subject: add meta_range_t::values() which returns all values of the range --- include/osmosdr/osmosdr_ranges.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/osmosdr/osmosdr_ranges.h b/include/osmosdr/osmosdr_ranges.h index b7939df..c84eb95 100644 --- a/include/osmosdr/osmosdr_ranges.h +++ b/include/osmosdr/osmosdr_ranges.h @@ -107,6 +107,9 @@ namespace osmosdr{ */ double clip(double value, bool clip_step = false) const; + /*! return a vector containing all values of the range */ + std::vector values() const; + //! Convert this meta-range to a printable string const std::string to_pp_string(void) const; -- cgit v1.2.3