Class derived to implement iterator.
More...
#include <selection.h>
Class derived to implement iterator.
tbx::view::SingleSelection::SingleIteratorImpl::SingleIteratorImpl |
( |
unsigned int |
index | ) |
|
|
inline |
Construct iterator for item with given index.
- Parameters
-
index | index of selected item |
virtual IteratorImpl* tbx::view::SingleSelection::SingleIteratorImpl::clone |
( |
| ) |
|
|
inlinevirtual |
Get copy of this iterator implentation.
- Returns
- copy of this with reference count increased
virtual unsigned int tbx::view::SingleSelection::SingleIteratorImpl::index |
( |
| ) |
const |
|
inlinevirtual |
Get the current index.
- Returns
- current index or NO_SELECTION if at end of selection
virtual void tbx::view::SingleSelection::SingleIteratorImpl::next |
( |
| ) |
|
|
inlinevirtual |
Advance iterator.
For the single selection model this makes the index NO_SELECTION.
The documentation for this class was generated from the following file: