18 #ifndef INCLUDED_UHD_TYPES_RANGES_HPP 19 #define INCLUDED_UHD_TYPES_RANGES_HPP 48 range_t(
double start,
double stop,
double step = 0);
51 double start(
void)
const;
54 double stop(
void)
const;
57 double step(
void)
const;
60 const std::string to_pp_string(
void)
const;
62 private:
double _start, _stop, _step;
79 template <
typename InputIterator>
90 meta_range_t(
double start,
double stop,
double step = 0);
93 double start(
void)
const;
96 double stop(
void)
const;
99 double step(
void)
const;
107 double clip(
double value,
bool clip_step =
false)
const;
110 const std::string to_pp_string(
void)
const;
meta_range_t freq_range_t
Definition: ranges.hpp:115
meta_range_t gain_range_t
Definition: ranges.hpp:114
Definition: convert.hpp:28
T clip(const T &val, const T &bound1, const T &bound2)
Definition: algorithm.hpp:81
Definition: ranges.hpp:31
#define UHD_API
Definition: config.h:66