GNU Radio Manual and C++ API Reference  v3.9.2.0-89-gb7c7001e
The Free & Open Software Radio Ecosystem
setting_string_conversion.h File Reference
#include <SoapySDR/Types.hpp>
#include <SoapySDR/Version.h>
#include <sstream>

Go to the source code of this file.

Namespaces

 gr
 GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
 
 gr::soapy
 

Macros

#define SOAPY_SDR_TRUE   "true"
 
#define SOAPY_SDR_FALSE   "false"
 

Functions

template<typename T >
static T gr::soapy::string_to_setting (const std::string &str)
 
template<>
bool gr::soapy::string_to_setting< bool > (const std::string &str)
 convert empty and "false" strings to false, integers to their truthness More...
 
template<typename T >
static std::string gr::soapy::setting_to_string (const T &setting)
 
template<>
std::string gr::soapy::setting_to_string< bool > (const bool &setting)
 

Macro Definition Documentation

◆ SOAPY_SDR_FALSE

#define SOAPY_SDR_FALSE   "false"

◆ SOAPY_SDR_TRUE

#define SOAPY_SDR_TRUE   "true"