8 #ifndef INCLUDED_UHD_TYPES_RANGES_HPP 9 #define INCLUDED_UHD_TYPES_RANGES_HPP 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;
58 private:
double _start, _stop, _step;
75 template <
typename InputIterator>
86 meta_range_t(
double start,
double stop,
double step = 0);
89 double start(
void)
const;
92 double stop(
void)
const;
95 double step(
void)
const;
103 double clip(
double value,
bool clip_step =
false)
const;
106 const std::string to_pp_string(
void)
const;
meta_range_t freq_range_t
Definition: ranges.hpp:111
UHD_INLINE T clip(const T &val, const T &bound1, const T &bound2)
Definition: algorithm.hpp:71
meta_range_t gain_range_t
Definition: ranges.hpp:110
UHD_INLINE bool operator!=(fp_compare_delta< float_t > lhs, fp_compare_delta< float_t > rhs)
Definition: fp_compare_delta.ipp:65
Definition: build_info.hpp:14
Definition: ranges.hpp:21
#define UHD_API
Definition: config.h:63
UHD_API bool operator==(const time_spec_t &, const time_spec_t &)
Implement equality_comparable interface.