22 typedef std::map<std::string, std::string>
Kwargs;
50 Range(
const double minimum,
const double maximum,
const double step=0.0);
53 double minimum(
void)
const;
56 double maximum(
void)
const;
59 double step(
void)
const;
62 double _min, _max, _step;
102 enum Type {BOOL, INT, FLOAT, STRING} type;
std::vector< Kwargs > KwargsList
Typedef for a list of key-word dictionaries.
Definition: Types.hpp:37
std::vector< ArgInfo > ArgInfoList
Definition: Types.hpp:127
double step(void) const
Get the range step size.
Definition: Types.hpp:141
Range range
Definition: Types.hpp:109
std::map< std::string, std::string > Kwargs
Typedef for a dictionary of key-value string arguments.
Definition: Types.hpp:22
double maximum(void) const
Get the range maximum.
Definition: Types.hpp:136
double minimum(void) const
Get the range minimum.
Definition: Types.hpp:131
std::vector< Range > RangeList
Definition: Types.hpp:70
Definition: ConverterPrimitives.hpp:14
std::string description
A brief description about the argument (optional)
Definition: Types.hpp:96
SOAPY_SDR_API Kwargs KwargsFromString(const std::string &markup)
SOAPY_SDR_API std::string KwargsToString(const Kwargs &args)
#define SOAPY_SDR_API
Definition: Config.h:41
std::vector< std::string > options
Definition: Types.hpp:115
std::string key
The key used to identify the argument (required)
Definition: Types.hpp:83
std::vector< std::string > optionNames
Definition: Types.hpp:121
std::string name
The displayable name of the argument (optional, use key if empty)
Definition: Types.hpp:93
std::string units
The units of the argument: dB, Hz, etc (optional)
Definition: Types.hpp:99
Type
The data type of the argument (required)
Definition: Types.hpp:102
std::string value
Definition: Types.hpp:90