tbx
0.7.3
|
Class derived from in subclasses to actually provided the iterator implementation. More...
#include <selection.h>
Public Member Functions | |
IteratorImpl () | |
Construct iterator implementation. | |
virtual | ~IteratorImpl () |
Destructor does nothing. | |
void | add_ref () |
Increase reference count. | |
void | release () |
Decrease reference count and delete this if reference count becomes zero. | |
bool | shared () const |
Check if the iterator implementation is being shared between two or more iterators. More... | |
virtual IteratorImpl * | clone ()=0 |
Override this method to return a copy of the iterator implementation. More... | |
virtual unsigned int | index () const =0 |
Override this to get the current index. More... | |
virtual void | next ()=0 |
Override this method to advance the iterator to the next item. | |
Class derived from in subclasses to actually provided the iterator implementation.
|
pure virtual |
Override this method to return a copy of the iterator implementation.
Implemented in tbx::view::MultiSelection::MultiIteratorImpl.
|
pure virtual |
Override this to get the current index.
Implemented in tbx::view::MultiSelection::MultiIteratorImpl.
|
inline |
Check if the iterator implementation is being shared between two or more iterators.