Home | History | Annotate | Download | only in shelf

Lines Matching refs:item

29   // Adds a new item to the model. Returns the resulting index.
30 int Add(const ShelfItem& item);
32 // Adds the item. |index| is the requested insertion index, which may be
34 int AddAt(int index, const ShelfItem& item);
36 // Removes the item at |index|.
39 // Moves the item at |index| to |target_index|. |target_index| is in terms
40 // of the model *after* the item at |index| is removed.
43 // Resets the item at the specified index. The item maintains its existing
45 void Set(int index, const ShelfItem& item);
47 // Returns the index of the item by id.
50 // Returns the |index| of the item matching |type| in |items_|.
51 // Returns -1 if the matching item is not found.
64 // Returns the id assigned to the next item added.
70 // Returns an iterator into items() for the item with the specified id, or
71 // items().end() if there is no item with the specified id.
89 // ID assigned to the next item.