34 virtual iterator
insert_item(const_iterator aPosition,
value_type const& aValue, item_cell_data
const& aCellData) = 0;
40 virtual iterator
append_item(const_iterator aParent,
value_type const& aValue, item_cell_data
const& aCellData) = 0;
49 return item(iterator_to_index(aItem));
53 return item(iterator_to_index(aItem));
57 auto const end = rows();
61 if (existing == aItem)
69 if (result != std::nullopt)
71 throw item_not_found();
virtual iterator append_item(const_iterator aParent, value_type const &aValue)=0
value_type const & item(const_iterator aItem) const
virtual iterator append_item(item_model_index const &aIndex, value_type const &aValue, item_cell_data const &aCellData)=0
virtual iterator append_item(item_model_index const &aIndex, value_type const &aValue)=0
virtual iterator insert_item(const_iterator aPosition, value_type const &aValue)=0
virtual iterator insert_item(item_model_index const &aIndex, value_type const &aValue, item_cell_data const &aCellData)=0
virtual value_type const & item(item_model_index const &aIndex) const =0
virtual iterator append_item(const_iterator aParent, value_type const &aValue, item_cell_data const &aCellData)=0
virtual iterator append_item(value_type const &aValue, item_cell_data const &aCellData)=0
virtual value_type & item(item_model_index const &aIndex)=0
std::optional< item_model_index > find_item_maybe(value_type const &aItem) const
virtual iterator insert_item(const_iterator aPosition, value_type const &aValue, item_cell_data const &aCellData)=0
value_type & item(const_iterator aItem)
virtual iterator append_item(value_type const &aValue)=0
item_model_index find_item(value_type const &aItem) const
virtual iterator insert_item(item_model_index const &aIndex, value_type const &aValue)=0