diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-02-16 12:19:47 +0100 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-02-16 12:19:47 +0100 |
commit | 878c80d8ca6e159038ff8e6ee974f54233f7a3d9 (patch) | |
tree | 1d0c77e91e598ce9145ee9281d1e0cae5eb47007 /include | |
parent | d11b7a2614d8292168746050b9d197fba8981515 (diff) |
add meta_range_t::values() which returns all values of the range
Diffstat (limited to 'include')
-rw-r--r-- | include/osmosdr/osmosdr_ranges.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<double> values() const; + //! Convert this meta-range to a printable string const std::string to_pp_string(void) const; |