USRP Hardware Driver and USRP Manual  Version: 4.6.0.0
UHD and USRP Manual
cast.hpp File Reference
#include <uhd/config.hpp>
#include <uhd/exception.hpp>
#include <iomanip>
#include <sstream>
#include <string>

Go to the source code of this file.

Namespaces

 uhd
 
 uhd::cast
 

Functions

template<typename T >
uhd::cast::hexstr_cast (const std::string &in)
 Convert a hexadecimal string into a value. More...
 
template<typename T >
uhd::cast::fromstr_cast (const std::string &in)
 
template<typename data_t >
data_t uhd::cast::from_str (const std::string &)
 Generic cast-from-string function. More...
 
template<>
UHD_API bool uhd::cast::from_str (const std::string &val)
 Specialization of uhd::cast::from_str() for Boolean values. More...
 
template<>
UHD_API double uhd::cast::from_str (const std::string &val)
 Specialization of uhd::cast::from_str() for double-precision values. More...
 
template<>
UHD_API int uhd::cast::from_str (const std::string &val)
 Specialization of uhd::cast::from_str() for integer values. More...
 
template<>
UHD_API std::string uhd::cast::from_str (const std::string &val)
 Specialization of uhd::cast::from_str() for strings. More...