8 #ifndef INCLUDED_UHD_PROPERTY_TREE_HPP     9 #define INCLUDED_UHD_PROPERTY_TREE_HPP    12 #include <boost/function.hpp>    13 #include <boost/shared_ptr.hpp>    14 #include <boost/utility.hpp>    66 template <
typename T> 
class property : boost::noncopyable
   164     virtual const T 
get(void) 
const = 0;
   180     virtual bool empty(
void) 
const = 0;
   199     UHD_API fs_path(
const std::string&);
   200     UHD_API std::string leaf(
void) 
const;
   201     UHD_API fs_path branch_path(
void) 
const;
   213     typedef boost::shared_ptr<property_tree> 
sptr;
   220     static sptr make(
void);
   223     virtual sptr subtree(
const fs_path& path) 
const = 0;
   226     virtual void remove(
const fs_path& path) = 0;
   229     virtual bool exists(
const fs_path& path) 
const = 0;
   232     virtual std::vector<std::string> list(
const fs_path& path) 
const = 0;
   235     template <
typename T>
   243     virtual void _create(
const fs_path& path, 
const boost::shared_ptr<void>& prop) = 0;
   246     virtual boost::shared_ptr<void>& _access(
const fs_path& path) 
const = 0;
 virtual ~property(void)=0
Definition: property_tree.hpp:183
 
virtual property< T > & update(void)=0
 
Definition: property_tree.hpp:195
 
boost::shared_ptr< property_tree > sptr
Definition: property_tree.hpp:213
 
virtual property< T > & add_coerced_subscriber(const subscriber_type &subscriber)=0
 
Definition: build_info.hpp:13
 
boost::function< T(const T &)> coercer_type
Definition: property_tree.hpp:71
 
virtual property< T > & set_publisher(const publisher_type &publisher)=0
 
virtual bool empty(void) const =0
 
virtual const T get_desired(void) const =0
 
virtual property< T > & set_coerced(const T &value)=0
 
boost::function< T(void)> publisher_type
Definition: property_tree.hpp:70
 
#define UHD_API
Definition: config.h:68
 
coerce_mode_t
Definition: property_tree.hpp:215
 
Definition: property_tree.hpp:210
 
boost::function< void(const T &)> subscriber_type
Definition: property_tree.hpp:69
 
virtual property< T > & add_desired_subscriber(const subscriber_type &subscriber)=0
 
UHD_API fs_path operator/(const fs_path &, const fs_path &)
 
Definition: property_tree.hpp:66
 
virtual property< T > & set_coercer(const coercer_type &coercer)=0