38 range_t(
double start,
double stop,
double step = 0);
59 double _start, _stop, _step;
76 template <
typename InputIterator>
85 !std::is_integral<typename std::decay<InputIterator>::type>::value,
86 "You can't pass integers to meta_range_t's constructor!"
114 double clip(
double value,
bool clip_step =
false)
const;
Definition: ranges.hpp:22
bool operator!=(const range_t &other) const
Inequality operator.
const std::string to_pp_string(void) const
Convert this range to a printable string.
double stop(void) const
Get the stop value for this range.
double start(void) const
Get the start value for this range.
range_t(double start, double stop, double step=0)
bool operator==(const range_t &other) const
Equality operator.
double step(void) const
Get the step value for this range.
#define UHD_API
Definition: config.h:70
Definition: build_info.hpp:12
meta_range_t freq_range_t
Definition: ranges.hpp:121
meta_range_t gain_range_t
Definition: ranges.hpp:120