class CCL::AbstractItemSelection
Overview
#include <iitemmodel.h> class AbstractItemSelection: public CCL::IItemSelection { public: // methods virtual void CCL_API clone (IItemSelection*& selection) const; virtual tbool CCL_API isEmpty () const; virtual tbool CCL_API isMultiple () const; virtual tbool CCL_API isSelected (ItemIndexRef index) const; virtual IItemSelectionIterator*CCL_API newIterator () const; virtual void CCL_API select (ItemIndexRef index); virtual tbool CCL_API unselect (ItemIndexRef index); virtual void CCL_API unselectAll (); };
Inherited Members
public: // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0; virtual void CCL_API clone (IItemSelection*& selection) const = 0; virtual tbool CCL_API isEmpty () const = 0; virtual tbool CCL_API isMultiple () const = 0; virtual tbool CCL_API isSelected (ItemIndexRef index) const = 0; virtual IItemSelectionIterator*CCL_API newIterator () const = 0; virtual void CCL_API select (ItemIndexRef index) = 0; virtual tbool CCL_API unselect (ItemIndexRef index) = 0; virtual void CCL_API unselectAll () = 0;
Detailed Documentation
Methods
virtual void CCL_API clone (IItemSelection*& selection) const
Clone selection.
virtual tbool CCL_API isEmpty () const
Check if selection is empty.
virtual tbool CCL_API isMultiple () const
Check if multiple items are selected.
virtual tbool CCL_API isSelected (ItemIndexRef index) const
Check if item is selected.
virtual IItemSelectionIterator*CCL_API newIterator () const
Create an iterator over the selected items.
virtual void CCL_API select (ItemIndexRef index)
Add an item to the selection.
virtual tbool CCL_API unselect (ItemIndexRef index)
Remove an item from the selection.
virtual void CCL_API unselectAll ()
Unselect all items.