USRP Hardware Driver and USRP Manual  Version: 4.7.0.0-22-g6758966a
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...
 
UHD_API std::string uhd::cast::to_ordinal_string (int val)
 Create an ordinal string from a number. More...