18 #ifndef INCLUDED_UHD_UTILS_PROPS_HPP 19 #define INCLUDED_UHD_UTILS_PROPS_HPP 41 template<
typename T>
inline T
as(
void){
54 const wax::obj &key,
const std::string &name =
"" 69 #define UHD_THROW_PROP_GET_ERROR() \ 70 throw uhd::key_error(UHD_THROW_SITE_INFO("cannot get this property")) 76 #define UHD_THROW_PROP_SET_ERROR() \ 77 throw uhd::key_error(UHD_THROW_SITE_INFO("cannot set this property")) T as(void) const
Definition: wax.hpp:139
T as(void)
Convert the key to the specified type.
Definition: props.hpp:41
const std::string name
Definition: props.hpp:38
#define UHD_API
Definition: config.hpp:76
Definition: convert.hpp:28
const wax::obj key
Definition: props.hpp:37
std::vector< std::string > prop_names_t
The type for a vector of property names.
Definition: props.hpp:30