ItemContainer m_items
List of associated items.
ItemContainer::iterator ItemIter
virtual void add_item(Item *item)
Associates the passed item with this Category.
void foreach_item(const SlotForeachItem &slot)
Executes a callback function for each associated item.
sigc::slot< bool, Item & > SlotForeachItem
virtual void remove_item(Item *item)
Removes the association of the passed item from this Category.
void execute(ItemFunctor &functor)
Executes the passed ItemFunctor.
Functor for processing items.