![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
STL iterator wrapper. More...
#include <mdsSTLIterator.h>

Public Types | |
| typedef CIteratorBase < CSTLIterator< I > > | base |
| Iterator base. | |
| typedef CSTLIterator< I > | tDerived |
| Iterator type. | |
| typedef base::tItem | tItem |
| Item type. | |
| typedef I | tSTLIterator |
| STL iterator. | |
Public Member Functions | |
| void | advance () |
| Moves iterator to the next position. | |
| bool | atEnd () const |
| Returns true if the iterator position is valid. | |
| CSTLIterator (const tSTLIterator &Begin, const tSTLIterator &End) | |
| Constructor. | |
| CSTLIterator (const CSTLIterator &It) | |
| Copy constructor. | |
| tDerived & | getImpl () |
| Returns reference to the iterator implementation. | |
| const tDerived & | getImpl () const |
| tSize | getSize () const |
| Returns size of the sequence. | |
| operator bool () const | |
| Returns true if the iterator is valid, i.e. not pointing after the end. | |
| tItem & | operator* () const |
| Returns reference to the current item. | |
| CIteratorBase & | operator++ () |
| CIteratorBase | operator++ (int) |
| tItem * | operator-> () const |
| Returns pointer to the current item. | |
| CSTLIterator & | operator= (const CSTLIterator &It) |
| Assignment operator. | |
| const tItem & | value () const |
| Returns the current item. | |
| tItem * | valuePtr () const |
| Returns pointer to the current item. | |
| tItem & | valueRef () const |
| Returns reference to the current item. | |
| ~CSTLIterator () | |
| Destructor. | |
Protected Attributes | |
| tSTLIterator | m_Begin |
| Wrapped STL iterators. | |
| tSTLIterator | m_End |
STL iterator wrapper.
| typedef CIteratorBase<CSTLIterator<I> > mds::base::CSTLIterator< I >::base |
Iterator base.
typedef CSTLIterator< I > mds::base::CIteratorBase< CSTLIterator< I > >::tDerived [inherited] |
Iterator type.
| typedef base::tItem mds::base::CSTLIterator< I >::tItem |
Item type.
Reimplemented from mds::base::CIteratorBase< CSTLIterator< I > >.
| typedef I mds::base::CSTLIterator< I >::tSTLIterator |
STL iterator.
| mds::base::CSTLIterator< I >::CSTLIterator | ( | const tSTLIterator & | Begin, |
| const tSTLIterator & | End | ||
| ) |
Constructor.
| mds::base::CSTLIterator< I >::CSTLIterator | ( | const CSTLIterator< I > & | It | ) |
Copy constructor.
| mds::base::CSTLIterator< I >::~CSTLIterator | ( | ) |
Destructor.
| void mds::base::CSTLIterator< I >::advance | ( | ) |
Moves iterator to the next position.
| bool mds::base::CSTLIterator< I >::atEnd | ( | ) | const |
Returns true if the iterator position is valid.
| tDerived& mds::base::CIteratorBase< CSTLIterator< I > >::getImpl | ( | ) | [inherited] |
Returns reference to the iterator implementation.
| const tDerived& mds::base::CIteratorBase< CSTLIterator< I > >::getImpl | ( | ) | const [inherited] |
| tSize mds::base::CSTLIterator< I >::getSize | ( | ) | const |
Returns size of the sequence.
Reimplemented from mds::base::CIteratorBase< CSTLIterator< I > >.
| mds::base::CIteratorBase< CSTLIterator< I > >::operator bool | ( | ) | const [inherited] |
Returns true if the iterator is valid, i.e. not pointing after the end.
| tItem& mds::base::CIteratorBase< CSTLIterator< I > >::operator* | ( | ) | const [inherited] |
Returns reference to the current item.
| CIteratorBase& mds::base::CIteratorBase< CSTLIterator< I > >::operator++ | ( | ) | [inherited] |
| CIteratorBase mds::base::CIteratorBase< CSTLIterator< I > >::operator++ | ( | int | ) | [inherited] |
| tItem* mds::base::CIteratorBase< CSTLIterator< I > >::operator-> | ( | ) | const [inherited] |
Returns pointer to the current item.
| CSTLIterator& mds::base::CSTLIterator< I >::operator= | ( | const CSTLIterator< I > & | It | ) |
Assignment operator.
| const tItem& mds::base::CSTLIterator< I >::value | ( | ) | const |
Returns the current item.
Reimplemented from mds::base::CIteratorBase< CSTLIterator< I > >.
| tItem* mds::base::CSTLIterator< I >::valuePtr | ( | ) | const |
Returns pointer to the current item.
Reimplemented from mds::base::CIteratorBase< CSTLIterator< I > >.
| tItem& mds::base::CSTLIterator< I >::valueRef | ( | ) | const |
Returns reference to the current item.
Reimplemented from mds::base::CIteratorBase< CSTLIterator< I > >.
tSTLIterator mds::base::CSTLIterator< I >::m_Begin [protected] |
Wrapped STL iterators.
tSTLIterator mds::base::CSTLIterator< I >::m_End [protected] |
1.7.6.1