11 #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>
84 static_assert(!std::is_integral<
typename std::decay<InputIterator>::type>::value,
85 "You can't pass integers to meta_range_t's constructor!");
95 meta_range_t(
double start,
double stop,
double step = 0);
98 double start(
void)
const;
101 double stop(
void)
const;
104 double step(
void)
const;
112 double clip(
double value,
bool clip_step =
false)
const;
124 meta_range_t as_monotonic()
const;
127 const std::string to_pp_string(
void)
const;
meta_range_t freq_range_t
Definition: ranges.hpp:131
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:130
UHD_INLINE bool operator!=(fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
Definition: fp_compare_delta.ipp:71
Definition: build_info.hpp:12
Definition: ranges.hpp:21
#define UHD_API
Definition: config.h:87
UHD_API bool operator==(const time_spec_t &, const time_spec_t &)
Implement equality_comparable interface.