21 #ifndef PULSEVIEW_PV_VIEW_VIEWITEMOWNER_HPP
22 #define PULSEVIEW_PV_VIEW_VIEWITEMOWNER_HPP
41 typedef std::vector< std::shared_ptr<ViewItem> >
item_list;
66 const_iterator
begin()
const;
72 const_iterator
end()
const;
79 std::vector< std::shared_ptr<T> > items;
80 for (
const auto &r : *
this) {
81 std::shared_ptr<T> p = std::dynamic_pointer_cast<T>(r);
96 #endif // PULSEVIEW_PV_VIEW_VIEWITEMOWNER_HPP
std::vector< std::shared_ptr< ViewItem > > item_list
std::vector< std::shared_ptr< T > > list_by_type()
virtual const item_list & child_items() const =0
ViewItemIterator< ViewItemOwner, ViewItem > iterator
ViewItemIterator< const ViewItemOwner, ViewItem > const_iterator