tbx  0.7.5
Public Member Functions | List of all members
tbx::view::MultiSelection::MultiIteratorImpl Class Reference

Class derived to implement iterator. More...

#include <selection.h>

Inheritance diagram for tbx::view::MultiSelection::MultiIteratorImpl:
tbx::view::Selection::IteratorImpl

Public Member Functions

 MultiIteratorImpl (ConstRangeIterator start, ConstRangeIterator end)
 Construct iterator implementation from iterators.
 
virtual IteratorImplclone ()
 Make a copy of the current iterator.
 
virtual unsigned int index () const
 Override this to get the current index. More...
 
virtual void next ()
 Advance iterator.
 
- Public Member Functions inherited from tbx::view::Selection::IteratorImpl
 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...
 

Detailed Description

Class derived to implement iterator.

Member Function Documentation

◆ index()

virtual unsigned int tbx::view::MultiSelection::MultiIteratorImpl::index ( ) const
inlinevirtual

Override this to get the current index.

Returns
current index or NO_INDEX if at the end

Implements tbx::view::Selection::IteratorImpl.


The documentation for this class was generated from the following files: