|
STK++ 0.9.13
|
ConstDenseRandomIterator allows to loop over the elements of containers Array. More...
#include <STK_DenseRandomIterator.h>

Public Member Functions | |
| ConstDenseRandomIterator () | |
| Default constructor. | |
| ConstDenseRandomIterator (Array const &array, int pos) | |
| Constructor with array and position given. | |
| ConstDenseRandomIterator (ConstDenseRandomIterator const &it) | |
| ~ConstDenseRandomIterator () | |
| ConstDenseRandomIterator & | operator= (ConstDenseRandomIterator const &it) |
| reference | operator* () const |
| pointer | operator-> () const |
| reference | operator[] (int pos) const |
| bool | operator== (ConstDenseRandomIterator const &rhs) |
| comparing two iterators (only position is compared !) | |
| bool | operator!= (ConstDenseRandomIterator const &rhs) |
| comparing two iterators (only position is compared !) | |
Public Member Functions inherited from STK::DenseIteratorBase< ConstDenseRandomIterator< Array > > | |
| Index | pos () const |
| ConstDenseRandomIterator< Array > & | operator++ () |
| next position | |
| ConstDenseRandomIterator< Array > & | operator++ (int junk) |
| next position | |
| ConstDenseRandomIterator< Array > & | operator-- () |
| previous position | |
| ConstDenseRandomIterator< Array > & | operator-- (int) |
| previous position | |
| ConstDenseRandomIterator< Array > & | operator+= (Index n) |
| add n positions to current position | |
| ConstDenseRandomIterator< 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. | |
Private Attributes | |
| Array const * | p_array_ |
Friends | |
| void | swap (ConstDenseRandomIterator &lhs, ConstDenseRandomIterator &rhs) |
Additional Inherited Members | |
Protected Member Functions inherited from STK::DenseIteratorBase< ConstDenseRandomIterator< 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< ConstDenseRandomIterator< Array > > | |
| Index | pos_ |
| Current position. | |
ConstDenseRandomIterator allows to loop over the elements of containers Array.
Definition at line 203 of file STK_DenseRandomIterator.h.
| typedef DenseIteratorBase< ConstDenseRandomIterator<Array> > STK::ConstDenseRandomIterator< Array >::Base |
Definition at line 206 of file STK_DenseRandomIterator.h.
| typedef hidden::IteratorTraits<ConstDenseRandomIterator>::ColRange STK::ConstDenseRandomIterator< Array >::ColRange |
Definition at line 224 of file STK_DenseRandomIterator.h.
| typedef hidden::IteratorTraits<ConstDenseRandomIterator>::difference_type STK::ConstDenseRandomIterator< Array >::difference_type |
Definition at line 230 of file STK_DenseRandomIterator.h.
| typedef hidden::IteratorTraits<ConstDenseRandomIterator>::Index STK::ConstDenseRandomIterator< Array >::Index |
Definition at line 208 of file STK_DenseRandomIterator.h.
| typedef hidden::IteratorTraits<ConstDenseRandomIterator>::iterator_category STK::ConstDenseRandomIterator< Array >::iterator_category |
Definition at line 226 of file STK_DenseRandomIterator.h.
| typedef hidden::IteratorTraits<ConstDenseRandomIterator>::pointer STK::ConstDenseRandomIterator< Array >::pointer |
Definition at line 229 of file STK_DenseRandomIterator.h.
| typedef hidden::IteratorTraits<ConstDenseRandomIterator>::reference STK::ConstDenseRandomIterator< Array >::reference |
Definition at line 228 of file STK_DenseRandomIterator.h.
| typedef hidden::IteratorTraits<ConstDenseRandomIterator>::RowRange STK::ConstDenseRandomIterator< Array >::RowRange |
Definition at line 223 of file STK_DenseRandomIterator.h.
| typedef hidden::IteratorTraits<ConstDenseRandomIterator>::Type STK::ConstDenseRandomIterator< Array >::Type |
Definition at line 220 of file STK_DenseRandomIterator.h.
| typedef hidden::IteratorTraits<ConstDenseRandomIterator>::TypeConst STK::ConstDenseRandomIterator< Array >::TypeConst |
Definition at line 221 of file STK_DenseRandomIterator.h.
| typedef hidden::IteratorTraits<ConstDenseRandomIterator>::value_type STK::ConstDenseRandomIterator< Array >::value_type |
Definition at line 227 of file STK_DenseRandomIterator.h.
| Enumerator | |
|---|---|
| structure_ | |
| orient_ | |
| sizeCols_ | |
| sizeRows_ | |
| size_ | |
| storage_ | |
Definition at line 210 of file STK_DenseRandomIterator.h.
|
inline |
Default constructor.
Definition at line 235 of file STK_DenseRandomIterator.h.
|
inline |
Constructor with array and position given.
Definition at line 237 of file STK_DenseRandomIterator.h.
|
inline |
Definition at line 242 of file STK_DenseRandomIterator.h.
|
inline |
Definition at line 247 of file STK_DenseRandomIterator.h.
|
inline |
comparing two iterators (only position is compared !)
Definition at line 264 of file STK_DenseRandomIterator.h.
References STK::DenseIteratorBase< Derived >::pos_, and STK::DenseIteratorBase< ConstDenseRandomIterator< Array > >::pos_.
|
inline |
Definition at line 256 of file STK_DenseRandomIterator.h.
References STK::ConstDenseRandomIterator< Array >::p_array_, and STK::DenseIteratorBase< ConstDenseRandomIterator< Array > >::pos_.
|
inline |
Definition at line 257 of file STK_DenseRandomIterator.h.
References STK::ConstDenseRandomIterator< Array >::p_array_, and STK::DenseIteratorBase< ConstDenseRandomIterator< Array > >::pos_.
|
inline |
Definition at line 248 of file STK_DenseRandomIterator.h.
References STK::ConstDenseRandomIterator< Array >::p_array_.
|
inline |
comparing two iterators (only position is compared !)
Definition at line 262 of file STK_DenseRandomIterator.h.
References STK::DenseIteratorBase< Derived >::pos_, and STK::DenseIteratorBase< ConstDenseRandomIterator< Array > >::pos_.
|
inline |
Definition at line 258 of file STK_DenseRandomIterator.h.
References STK::ConstDenseRandomIterator< Array >::p_array_, and STK::DenseIteratorBase< ConstDenseRandomIterator< Array > >::pos().
|
friend |
Definition at line 267 of file STK_DenseRandomIterator.h.
|
private |