|
STK++ 0.9.13
|
BiDirectionalIterator allows to loop over the element of one dimensional list containers. More...
#include <STK_BiDirectionalIterator.h>

Public Member Functions | |
| BiDirectionalIterator (Array &list1D, int pos) | |
| BiDirectionalIterator (BiDirectionalIterator const &it) | |
| ~BiDirectionalIterator () | |
| BiDirectionalIterator & | operator= (BiDirectionalIterator const &it) |
| reference | operator* () |
| pointer | operator-> () |
Public Member Functions inherited from STK::DenseIteratorBase< BiDirectionalIterator< Array > > | |
| Index | pos () const |
| BiDirectionalIterator< Array > & | operator++ () |
| next position | |
| BiDirectionalIterator< Array > & | operator++ (int junk) |
| next position | |
| BiDirectionalIterator< Array > & | operator-- () |
| previous position | |
| BiDirectionalIterator< Array > & | operator-- (int) |
| previous position | |
| BiDirectionalIterator< Array > & | operator+= (Index n) |
| add n positions to current position | |
| BiDirectionalIterator< Array > & | operator-= (Index n) |
| Subtract n positions to current position. | |
Public Member Functions inherited from STK::IRecursiveTemplate< Derived > | |
| Derived & | asDerived () |
| static cast : return a reference of this with a cast to the derived class. | |
| Derived const & | asDerived () const |
| static cast : return a const reference of this with a cast to the derived class. | |
| Derived * | asPtrDerived () |
static cast : return a ptr on a Derived of this with a cast to the derived class. | |
| Derived const * | asPtrDerived () const |
static cast : return a ptr on a constant Derived of this with a cast to the derived class. | |
| Derived * | clone () const |
| create a leaf using the copy constructor of the Derived class. | |
| Derived * | clone (bool isRef) const |
| create a leaf using the copy constructor of the Derived class and a flag determining if the clone is a reference or not. | |
Public Attributes | |
| Index | pos_ |
| Current position. | |
Private Attributes | |
| Array & | list1D_ |
Friends | |
| void | swap (BiDirectionalIterator &lhs, BiDirectionalIterator &rhs) |
Additional Inherited Members | |
Protected Member Functions inherited from STK::DenseIteratorBase< BiDirectionalIterator< Array > > | |
| DenseIteratorBase () | |
| default constructor | |
| DenseIteratorBase (Index pos) | |
| constructor with specified position | |
| DenseIteratorBase (DenseIteratorBase const &it) | |
| copy constructor. | |
| ~DenseIteratorBase () | |
| destructor | |
Protected Member Functions inherited from STK::IRecursiveTemplate< Derived > | |
| IRecursiveTemplate () | |
| constructor. | |
| ~IRecursiveTemplate () | |
| destructor. | |
Protected Attributes inherited from STK::DenseIteratorBase< BiDirectionalIterator< Array > > | |
| Index | pos_ |
| Current position. | |
BiDirectionalIterator allows to loop over the element of one dimensional list containers.
Definition at line 127 of file STK_BiDirectionalIterator.h.
| typedef DenseIteratorBase< BiDirectionalIterator > STK::BiDirectionalIterator< Array >::Base |
Definition at line 131 of file STK_BiDirectionalIterator.h.
| typedef hidden::IteratorTraits<BiDirectionalIterator>::ColRange STK::BiDirectionalIterator< Array >::ColRange |
Definition at line 148 of file STK_BiDirectionalIterator.h.
| typedef hidden::IteratorTraits<BiDirectionalIterator>::difference_type STK::BiDirectionalIterator< Array >::difference_type |
Definition at line 154 of file STK_BiDirectionalIterator.h.
| typedef hidden::IteratorTraits<BiDirectionalIterator>::Index STK::BiDirectionalIterator< Array >::Index |
Definition at line 132 of file STK_BiDirectionalIterator.h.
| typedef hidden::IteratorTraits<BiDirectionalIterator>::iterator_category STK::BiDirectionalIterator< Array >::iterator_category |
Definition at line 150 of file STK_BiDirectionalIterator.h.
| typedef hidden::IteratorTraits<BiDirectionalIterator>::pointer STK::BiDirectionalIterator< Array >::pointer |
Definition at line 153 of file STK_BiDirectionalIterator.h.
| typedef hidden::IteratorTraits<BiDirectionalIterator>::reference STK::BiDirectionalIterator< Array >::reference |
Definition at line 152 of file STK_BiDirectionalIterator.h.
| typedef hidden::IteratorTraits<BiDirectionalIterator>::RowRange STK::BiDirectionalIterator< Array >::RowRange |
Definition at line 147 of file STK_BiDirectionalIterator.h.
| typedef hidden::IteratorTraits<BiDirectionalIterator>::Type STK::BiDirectionalIterator< Array >::Type |
Definition at line 144 of file STK_BiDirectionalIterator.h.
| typedef hidden::IteratorTraits<BiDirectionalIterator>::TypeConst STK::BiDirectionalIterator< Array >::TypeConst |
Definition at line 145 of file STK_BiDirectionalIterator.h.
| typedef hidden::IteratorTraits<BiDirectionalIterator>::value_type STK::BiDirectionalIterator< Array >::value_type |
Definition at line 151 of file STK_BiDirectionalIterator.h.
| Enumerator | |
|---|---|
| structure_ | |
| orient_ | |
| sizeCols_ | |
| sizeRows_ | |
| size_ | |
| storage_ | |
Definition at line 134 of file STK_BiDirectionalIterator.h.
|
inline |
Definition at line 159 of file STK_BiDirectionalIterator.h.
|
inline |
Definition at line 162 of file STK_BiDirectionalIterator.h.
|
inline |
Definition at line 164 of file STK_BiDirectionalIterator.h.
|
inline |
Definition at line 173 of file STK_BiDirectionalIterator.h.
References STK::BiDirectionalIterator< Array >::list1D_, and STK::BiDirectionalIterator< Array >::pos_.
|
inline |
Definition at line 174 of file STK_BiDirectionalIterator.h.
References STK::BiDirectionalIterator< Array >::list1D_, and STK::BiDirectionalIterator< Array >::pos_.
|
inline |
Definition at line 165 of file STK_BiDirectionalIterator.h.
References STK::BiDirectionalIterator< Array >::list1D_.
|
friend |
Definition at line 176 of file STK_BiDirectionalIterator.h.
|
private |
Definition at line 183 of file STK_BiDirectionalIterator.h.
Referenced by STK::BiDirectionalIterator< Array >::operator*(), STK::BiDirectionalIterator< Array >::operator->(), and STK::BiDirectionalIterator< Array >::operator=().
| Index STK::DenseIteratorBase< Derived >::pos_ |
Current position.
Definition at line 157 of file STK_DenseIteratorBase.h.
Referenced by STK::BiDirectionalIterator< Array >::operator*(), and STK::BiDirectionalIterator< Array >::operator->().