12 #include <type_traits> 38 range_t(
double start,
double stop,
double step = 0);
41 double start(
void)
const;
44 double stop(
void)
const;
47 double step(
void)
const;
50 const std::string to_pp_string(
void)
const;
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!" 97 meta_range_t(
double start,
double stop,
double step = 0);
100 double start(
void)
const;
103 double stop(
void)
const;
106 double step(
void)
const;
114 double clip(
double value,
bool clip_step =
false)
const;
117 const std::string to_pp_string(
void)
const;
meta_range_t freq_range_t
Definition: ranges.hpp:121
UHD_INLINE T clip(const T &val, const T &bound1, const T &bound2)
Definition: algorithm.hpp:81
meta_range_t gain_range_t
Definition: ranges.hpp:120
UHD_INLINE bool operator!=(fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
Definition: fp_compare_delta.ipp:64
Definition: build_info.hpp:12
Definition: ranges.hpp:21
#define UHD_API
Definition: config.h:70
UHD_API bool operator==(const time_spec_t &, const time_spec_t &)
Implement equality_comparable interface.