From dbd2aee42a4bba767b8f1daf0801fd0aac304be7 Mon Sep 17 00:00:00 2001 From: Marcus Müller <marcus@hostalia.de> Date: Sat, 12 Apr 2014 17:04:54 +0200 Subject: pmt_io: adding string conversion for uniform vectors Sadly, this needed expansion of unv_template, otherwise I'd have to hand-write gengen-style code in pmt_io.cc --- gnuradio-runtime/lib/pmt/pmt_int.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gnuradio-runtime/lib/pmt/pmt_int.h') diff --git a/gnuradio-runtime/lib/pmt/pmt_int.h b/gnuradio-runtime/lib/pmt/pmt_int.h index aceb7b74d9..25bcdb9d6b 100644 --- a/gnuradio-runtime/lib/pmt/pmt_int.h +++ b/gnuradio-runtime/lib/pmt/pmt_int.h @@ -238,6 +238,7 @@ public: virtual const void *uniform_elements(size_t &len) = 0; virtual void *uniform_writable_elements(size_t &len) = 0; virtual size_t length() const = 0; + virtual const std::string string_ref(size_t k) const { return std::string("FIXME"); } }; #include "pmt_unv_int.h" -- cgit v1.2.3