aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-01-15 14:37:47 +0100
committerMartin Braun <martin.braun@ettus.com>2015-01-27 09:58:32 +0100
commitbee57ee03fd4b9dac476da7e375ddd8dcc749b1b (patch)
tree9010455f97ca74c0664ed2fa30d2628f538d7d47 /host/include
parentbefbaf97d09f1c36437bb285d7a1dc70a34ef6ab (diff)
downloaduhd-bee57ee03fd4b9dac476da7e375ddd8dcc749b1b.tar.gz
uhd-bee57ee03fd4b9dac476da7e375ddd8dcc749b1b.tar.bz2
uhd-bee57ee03fd4b9dac476da7e375ddd8dcc749b1b.zip
convert: Modifications to id_type
- Converter ID symbols are exported - to_string() function for lighter feedback
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/convert.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/include/uhd/convert.hpp b/host/include/uhd/convert.hpp
index d740d80fb..e42123b20 100644
--- a/host/include/uhd/convert.hpp
+++ b/host/include/uhd/convert.hpp
@@ -63,12 +63,13 @@ namespace uhd{ namespace convert{
typedef int priority_type;
//! Identify a conversion routine in the registry
- struct id_type : boost::equality_comparable<id_type>{
+ struct UHD_API id_type : boost::equality_comparable<id_type>{
std::string input_format;
size_t num_inputs;
std::string output_format;
size_t num_outputs;
std::string to_pp_string(void) const;
+ std::string to_string(void) const;
};
//! Implement equality_comparable interface