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


Public Types | |
| typedef iterator_base< block_complex_float, float, reverse >::difference_type | difference_type |
| Difference type. More... | |
Public Types inherited from gsl::block_complex_float::iterator_base< block_complex_float, float, reverse > | |
| typedef complex_float | value_type |
| An iterator must have a value_type. More... | |
| typedef complex_float_ref | reference |
| An iterator must have a reference type. More... | |
| typedef complex_float_ptr | pointer |
| An iterator must have a pointer type. More... | |
| typedef std::random_access_iterator_tag | iterator_category |
| An iterator must have a pointer type. More... | |
| typedef ptrdiff_t | difference_type |
| An iterator must have a difference_type. More... | |
Public Member Functions | |
| iterator_t< reverse > & | operator= (iterator_t< reverse > const &i) |
| We can assign one output iterator from another. More... | |
| iterator_t< reverse > & | operator++ () |
| The prefix ++ operator. More... | |
| iterator_t< reverse > | operator++ (int) |
| The postfix ++ operator. More... | |
| iterator_t< reverse > & | operator-- () |
| The prefix – operator. More... | |
| iterator_t< reverse > | operator-- (int) |
| The postfix – operator. More... | |
| iterator_t< reverse > & | operator+= (difference_type const n) |
| The += operator. More... | |
| iterator_t< reverse > & | operator-= (difference_type const n) |
| The -= operator. More... | |
| iterator_t< reverse > | operator+ (difference_type const n) const |
| The + operator. More... | |
| iterator_t< reverse > | operator- (difference_type const n) const |
| The - operator: subtract distance from iterator. More... | |
| difference_type | operator- (iterator_t< reverse > const &i) const |
| The - operator: find distance between two iterators. More... | |
| difference_type | operator- (const_iterator_t< reverse > const &i) const |
| The - operator: find distance between two iterators. More... | |
| bool | operator== (const_iterator_t< reverse > const &i) const |
| Comparison with const iterator. More... | |
| bool | operator!= (const_iterator_t< reverse > const &i) const |
| Comparison with const iterator. More... | |
| bool | operator< (const_iterator_t< reverse > const &i) const |
| Comparison with const iterator. More... | |
| iterator_t () | |
| The default constructor. More... | |
Public Member Functions inherited from gsl::block_complex_float::iterator_base< block_complex_float, float, reverse > | |
| reference | operator* () const |
| Dereference the pointer. More... | |
| pointer | operator-> () const |
| Dereference the pointer. More... | |
| reference | operator[] (difference_type const n) const |
| Get element at i + n by reference ([] operator). More... | |
| difference_type | operator- (iterator_base< block_complex_float, float, reverse > const &i) const |
| The - operator: find distance between two iterators. More... | |
| bool | operator== (iterator_base< block_complex_float, float, reverse > const &i) const |
| The == operator. More... | |
| bool | operator!= (iterator_base< block_complex_float, float, reverse > const &i) const |
| The != operator. More... | |
| bool | operator< (iterator_base< block_complex_float, float, reverse > const &i) const |
| The < operator is used to compare iterators. More... | |
Protected Member Functions | |
| iterator_t (block_complex_float *v, difference_type position) | |
| This constructor allows block_complex_float to create non-default iterators. More... | |
Protected Member Functions inherited from gsl::block_complex_float::iterator_base< block_complex_float, float, reverse > | |
| void | increment () |
| Increment the iterator. More... | |
| void | decrement () |
| Derement the iterator. More... | |
| void | shift (difference_type const n) |
| Shift iterator n places. More... | |
| iterator_base () | |
| The iterator is default constructible. More... | |
| iterator_base (block_complex_float *v, difference_type position) | |
| This constructor allows block_complex_float to create non-default iterators. More... | |
Friends | |
| class | block_complex_float |
Additional Inherited Members | |
Protected Attributes inherited from gsl::block_complex_float::iterator_base< block_complex_float, float, reverse > | |
| block_complex_float * | v |
| Store a pointer to a block_complex_float we can iterate over: 0 if no block_complex_float. More... | |
| difference_type | position |
| Mark position of iterator within block_complex_float. More... | |
A class template for the two non-const iterators.
Definition at line 571 of file block_complex_float.hpp.
| typedef iterator_base<block_complex_float,float,reverse>::difference_type gsl::block_complex_float::iterator_t< reverse >::difference_type |
Difference type.
Definition at line 628 of file block_complex_float.hpp.
|
inline |
The default constructor.
Definition at line 741 of file block_complex_float.hpp.
|
inlineprotected |
This constructor allows block_complex_float to create non-default iterators.
| v | The block_complex_float that creates this |
| position | The initial postion of the iterator |
Definition at line 750 of file block_complex_float.hpp.
|
inline |
Comparison with const iterator.
| i | another iterator |
false or true according as this points to same element as i Definition at line 716 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_t< reverse >::operator==().
|
inline |
The + operator.
| n | A difference_type value to be added |
Definition at line 656 of file block_complex_float.hpp.
References gsl::rstat::n().
|
inline |
The prefix ++ operator.
this Definition at line 590 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< container, content, reverse >::increment().
|
inline |
The postfix ++ operator.
this Definition at line 598 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< container, content, reverse >::increment().
|
inline |
The += operator.
| n | A difference_type value to be added to position of iterator |
this Definition at line 635 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< block_complex_float, float, reverse >::shift().
|
inline |
The - operator: find distance between two iterators.
| i | A const iterator |
this and i Definition at line 686 of file block_complex_float.hpp.
References gsl::block_complex_float::ccgsl_pointer, gsl::exception::GSL_EFAILED, gsl::block_complex_float::iterator_base< block_complex_float, float, reverse >::position, gsl::block_complex_float::iterator_base< container, content, reverse >::position, gsl::block_complex_float::iterator_base< container, content, reverse >::v, and gsl::block_complex_float::iterator_base< block_complex_float, float, reverse >::v.
|
inline |
The - operator: subtract distance from iterator.
| n | A difference_type value to be subtracted |
Definition at line 668 of file block_complex_float.hpp.
References gsl::rstat::n().
|
inline |
The - operator: find distance between two iterators.
| i | A second iterator |
this and i Definition at line 678 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< container, content, reverse >::operator-().
|
inline |
The prefix – operator.
this Definition at line 610 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< container, content, reverse >::decrement().
|
inline |
The postfix – operator.
this; Definition at line 618 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< container, content, reverse >::decrement().
|
inline |
The -= operator.
| n | A difference_type value to be subtracted from position of iterator |
this Definition at line 645 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< block_complex_float, float, reverse >::shift().
|
inline |
Comparison with const iterator.
| i | another iterator |
true or false according as this points to earlier element than i Definition at line 724 of file block_complex_float.hpp.
References gsl::block_complex_float::ccgsl_pointer, gsl::exception::GSL_EFAILED, gsl::block_complex_float::iterator_base< block_complex_float, float, reverse >::position, gsl::block_complex_float::iterator_base< container, content, reverse >::position, gsl::block_complex_float::iterator_base< container, content, reverse >::v, and gsl::block_complex_float::iterator_base< block_complex_float, float, reverse >::v.
|
inline |
We can assign one output iterator from another.
| i | The iterator to copy |
Definition at line 579 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< container, content, reverse >::position, and gsl::block_complex_float::iterator_base< container, content, reverse >::v.
|
inline |
Comparison with const iterator.
| i | another iterator |
true or false according as this points to same element as i Definition at line 708 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< container, content, reverse >::position, gsl::block_complex_float::iterator_base< block_complex_float, float, reverse >::position, gsl::block_complex_float::iterator_base< container, content, reverse >::v, and gsl::block_complex_float::iterator_base< block_complex_float, float, reverse >::v.
Referenced by gsl::block_complex_float::iterator_t< reverse >::operator!=().
|
friend |
Definition at line 743 of file block_complex_float.hpp.