|
ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
|
A class template for the two non-const iterators. More...


Public Member Functions | |
| iterator_t< reverse_t > & | operator= (iterator_t< reverse_t > const &i) |
| We can assign one output iterator from another. More... | |
| iterator_t< reverse_t > & | operator++ () |
| The prefix ++ operator. More... | |
| iterator_t< reverse_t > | operator++ (int) |
| The postfix ++ operator. More... | |
| iterator_t< reverse_t > & | operator-- () |
| The prefix – operator. More... | |
| iterator_t< reverse_t > | operator-- (int) |
| The postfix – operator. More... | |
| bool | operator== (const_iterator_t< reverse_t > const &i) const |
| Comparison with const iterator. More... | |
| bool | operator!= (const_iterator_t< reverse_t > const &i) const |
| Comparison with const iterator. More... | |
| iterator_t () | |
| The default constructor. More... | |
Public Member Functions inherited from gsl::matrix_ushort::iterator_base< matrix_ushort, vector_ushort, reverse_t > | |
| reference | operator* () const |
| Dereference the pointer. More... | |
| pointer | operator-> () const |
| Dereference the pointer. More... | |
| bool | operator== (iterator_base< matrix_ushort, vector_ushort, reverse_t > const &i) const |
| The == operator. More... | |
| bool | operator!= (iterator_base< matrix_ushort, vector_ushort, reverse_t > const &i) const |
| The != operator. More... | |
Protected Member Functions | |
| iterator_t (matrix_ushort *v, size_t position) | |
| This constructor allows vector_ushort to create non-default iterators. More... | |
Protected Member Functions inherited from gsl::matrix_ushort::iterator_base< matrix_ushort, vector_ushort, reverse_t > | |
| void | increment () |
| Increment the iterator. More... | |
| void | decrement () |
| Decrement the iterator. More... | |
| iterator_base () | |
| The iterator is default constructible. More... | |
| iterator_base (matrix_ushort *v, size_t position) | |
| This constructor allows vector_ushort to create non-default iterators. More... | |
Friends | |
| class | matrix_ushort |
Additional Inherited Members | |
Public Types inherited from gsl::matrix_ushort::iterator_base< matrix_ushort, vector_ushort, reverse_t > | |
| typedef std::bidirectional_iterator_tag | iterator_category |
| An iterator must have an iterator category. More... | |
| typedef vector_ushort | value_type |
| An iterator must have a value type. More... | |
| typedef vector_ushort_ptr | pointer |
| An iterator must have a pointer typea. More... | |
| typedef value_type | reference |
| An iterator must have a reference type. More... | |
Protected Attributes inherited from gsl::matrix_ushort::iterator_base< matrix_ushort, vector_ushort, reverse_t > | |
| matrix_ushort * | v |
| Store a pointer to a matrix_ushort we can iterate over: 0 if no matrix_ushort. More... | |
| size_t | position |
| Mark position of iterator within matrix_ushort. More... | |
A class template for the two non-const iterators.
Definition at line 407 of file matrix_ushort.hpp.
|
inline |
The default constructor.
Definition at line 479 of file matrix_ushort.hpp.
|
inlineprotected |
This constructor allows vector_ushort to create non-default iterators.
| v | The matrix_ushort that creates this |
| position | The initial postion of the iterator |
Definition at line 488 of file matrix_ushort.hpp.
|
inline |
Comparison with const iterator.
| i | another iterator |
false or true according as this points to same element as i Definition at line 473 of file matrix_ushort.hpp.
References gsl::matrix_ushort::iterator_t< reverse_t >::operator==().
|
inline |
The prefix ++ operator.
this Definition at line 426 of file matrix_ushort.hpp.
References gsl::matrix_ushort::iterator_base< container, content, reverse_t >::increment().
|
inline |
The postfix ++ operator.
this Definition at line 434 of file matrix_ushort.hpp.
References gsl::matrix_ushort::iterator_base< container, content, reverse_t >::increment().
|
inline |
The prefix – operator.
this Definition at line 446 of file matrix_ushort.hpp.
References gsl::matrix_ushort::iterator_base< container, content, reverse_t >::decrement().
|
inline |
The postfix – operator.
this; Definition at line 454 of file matrix_ushort.hpp.
References gsl::matrix_ushort::iterator_base< container, content, reverse_t >::decrement().
|
inline |
We can assign one output iterator from another.
| i | The iterator to copy |
Definition at line 415 of file matrix_ushort.hpp.
References gsl::matrix_ushort::iterator_base< container, content, reverse_t >::position, and gsl::matrix_ushort::iterator_base< container, content, reverse_t >::v.
|
inline |
Comparison with const iterator.
| i | another iterator |
true or false according as this points to same element as i Definition at line 465 of file matrix_ushort.hpp.
References gsl::matrix_ushort::iterator_base< matrix_ushort, vector_ushort, reverse_t >::position, gsl::matrix_ushort::iterator_base< container, content, reverse_t >::position, gsl::matrix_ushort::iterator_base< container, content, reverse_t >::v, and gsl::matrix_ushort::iterator_base< matrix_ushort, vector_ushort, reverse_t >::v.
Referenced by gsl::matrix_ushort::iterator_t< reverse_t >::operator!=().
|
friend |
Definition at line 481 of file matrix_ushort.hpp.