7 #ifndef INCLUDED_UHD_TYPES_RANGES_HPP 8 #define INCLUDED_UHD_TYPES_RANGES_HPP 37 range_t(
double start,
double stop,
double step = 0);
40 double start(
void)
const;
43 double stop(
void)
const;
46 double step(
void)
const;
49 const std::string to_pp_string(
void)
const;
57 private:
double _start, _stop, _step;
74 template <
typename InputIterator>
85 meta_range_t(
double start,
double stop,
double step = 0);
88 double start(
void)
const;
91 double stop(
void)
const;
94 double step(
void)
const;
102 double clip(
double value,
bool clip_step =
false)
const;
105 const std::string to_pp_string(
void)
const;
meta_range_t freq_range_t
Definition: ranges.hpp:110
UHD_INLINE T clip(const T &val, const T &bound1, const T &bound2)
Definition: algorithm.hpp:70
meta_range_t gain_range_t
Definition: ranges.hpp:109
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:14
Definition: ranges.hpp:20
#define UHD_API
Definition: config.h:62
UHD_API bool operator==(const time_spec_t &, const time_spec_t &)
Implement equality_comparable interface.