From 3a6187515677b277489df4ec59f9cf21f1ed62bc Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 27 Jun 2011 23:05:53 -0700 Subject: usrp2: restored discovery and most of io_impl --- host/include/uhd/property_tree.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'host/include') diff --git a/host/include/uhd/property_tree.hpp b/host/include/uhd/property_tree.hpp index 9f8f30b57..b23a6cc37 100644 --- a/host/include/uhd/property_tree.hpp +++ b/host/include/uhd/property_tree.hpp @@ -24,7 +24,7 @@ #include #include #include -#include +#include namespace uhd{ @@ -35,7 +35,6 @@ class UHD_API property_tree : boost::noncopyable{ public: typedef boost::shared_ptr sptr; typedef boost::filesystem::path path_type; - typedef std::list iterator_type; //! Create a new + empty property tree static sptr make(void); @@ -46,8 +45,8 @@ public: //! True if the path exists in the tree virtual bool exists(const path_type &path) = 0; - //! Get an iterator to all things in the given path - virtual iterator_type iterate(const path_type &path) = 0; + //! Get an iterable to all things in the given path + virtual std::vector list(const path_type &path) = 0; //! Create a new property entry in the tree template void create(const path_type &path, const property &prop = property()){ -- cgit v1.2.3