|
ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
|
The container must have iterator types. More...


Public Types | |
| 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 | |
| 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< container, content, reverse > const &i) const |
| The - operator: find distance between two iterators. More... | |
| bool | operator== (iterator_base< container, content, reverse > const &i) const |
| The == operator. More... | |
| bool | operator!= (iterator_base< container, content, reverse > const &i) const |
| The != operator. More... | |
| bool | operator< (iterator_base< container, content, reverse > const &i) const |
| The < operator is used to compare iterators. More... | |
Protected Member Functions | |
| 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 (container *v, difference_type position) | |
| This constructor allows block_complex_float to create non-default iterators. More... | |
Protected Attributes | |
| container * | 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... | |
Friends | |
| class | block_complex_float |
The container must have iterator types.
We create a suitable class here.
Definition at line 329 of file block_complex_float.hpp.
| typedef ptrdiff_t gsl::block_complex_float::iterator_base< container, content, reverse >::difference_type |
An iterator must have a difference_type.
Definition at line 352 of file block_complex_float.hpp.
| typedef std::random_access_iterator_tag gsl::block_complex_float::iterator_base< container, content, reverse >::iterator_category |
An iterator must have a pointer type.
Definition at line 347 of file block_complex_float.hpp.
| typedef complex_float_ptr gsl::block_complex_float::iterator_base< container, content, reverse >::pointer |
An iterator must have a pointer type.
Definition at line 343 of file block_complex_float.hpp.
| typedef complex_float_ref gsl::block_complex_float::iterator_base< container, content, reverse >::reference |
An iterator must have a reference type.
Definition at line 339 of file block_complex_float.hpp.
| typedef complex_float gsl::block_complex_float::iterator_base< container, content, reverse >::value_type |
An iterator must have a value_type.
Definition at line 335 of file block_complex_float.hpp.
|
inlineprotected |
The iterator is default constructible.
Definition at line 549 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< container, content, reverse >::v.
|
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 555 of file block_complex_float.hpp.
|
inlineprotected |
Derement the iterator.
Definition at line 518 of file block_complex_float.hpp.
References gsl::exception::GSL_EFAILED, gsl::block_complex_float::iterator_base< container, content, reverse >::position, and gsl::block_complex_float::iterator_base< container, content, reverse >::v.
Referenced by gsl::block_complex_float::iterator_t< reverse >::operator--(), and gsl::block_complex_float::const_iterator_t< reverse >::operator--().
|
inlineprotected |
Increment the iterator.
Definition at line 501 of file block_complex_float.hpp.
References gsl::exception::GSL_EFAILED, gsl::block_complex_float::iterator_base< container, content, reverse >::position, and gsl::block_complex_float::iterator_base< container, content, reverse >::v.
Referenced by gsl::block_complex_float::iterator_t< reverse >::operator++(), and gsl::block_complex_float::const_iterator_t< reverse >::operator++().
|
inline |
The != operator.
| i | The iterator being compared |
true or false according as i != *this Definition at line 472 of file block_complex_float.hpp.
References gsl::block_complex_float::iterator_base< container, content, reverse >::operator==().
|
inline |
Dereference the pointer.
Definition at line 359 of file block_complex_float.hpp.
References CCGSL_MTY, gsl::exception::GSL_EFAILED, gsl::exception::GSL_EFAULT, gsl::block_complex_float::iterator_base< container, content, reverse >::position, and gsl::block_complex_float::iterator_base< container, content, reverse >::v.
|
inline |
The - operator: find distance between two iterators.
| i | A second iterator |
this and i Definition at line 440 of file block_complex_float.hpp.
References gsl::exception::GSL_EFAILED, gsl::block_complex_float::iterator_base< container, content, reverse >::position, and gsl::block_complex_float::iterator_base< container, content, reverse >::v.
Referenced by gsl::block_complex_float::const_iterator_t< reverse >::operator-(), and gsl::block_complex_float::iterator_t< reverse >::operator-().
|
inline |
Dereference the pointer.
Definition at line 385 of file block_complex_float.hpp.
References CCGSL_MTY, gsl::exception::GSL_EFAILED, gsl::block_complex_float::iterator_base< container, content, reverse >::position, and gsl::block_complex_float::iterator_base< container, content, reverse >::v.
|
inline |
The < operator is used to compare iterators.
This only makes sense if the iterators iterate over the same block_complex_float and the function calls a GSL error handler and returns false if they do not.
| i | The iterator being compared |
true or false according as i < j Definition at line 482 of file block_complex_float.hpp.
References gsl::exception::GSL_EFAILED, gsl::block_complex_float::iterator_base< container, content, reverse >::position, and gsl::block_complex_float::iterator_base< container, content, reverse >::v.
|
inline |
The == operator.
| i | The iterator being compared |
true or false according as i != *this Definition at line 464 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.
Referenced by gsl::block_complex_float::iterator_base< container, content, reverse >::operator!=().
|
inline |
Get element at i + n by reference ([] operator).
| n | The offset from i |
Definition at line 412 of file block_complex_float.hpp.
References CCGSL_MTY, gsl::exception::GSL_EFAILED, gsl::rstat::n(), gsl::block_complex_float::iterator_base< container, content, reverse >::position, and gsl::block_complex_float::iterator_base< container, content, reverse >::v.
|
inlineprotected |
Shift iterator n places.
| n | A difference_type value to be added to position of iterator |
Definition at line 535 of file block_complex_float.hpp.
References gsl::exception::GSL_EFAILED, gsl::rstat::n(), gsl::block_complex_float::iterator_base< container, content, reverse >::position, and gsl::block_complex_float::iterator_base< container, content, reverse >::v.
|
friend |
Definition at line 330 of file block_complex_float.hpp.
|
protected |
Mark position of iterator within block_complex_float.
Definition at line 564 of file block_complex_float.hpp.
Referenced by gsl::block_complex_float::const_iterator_t< reverse >::const_iterator_t(), gsl::block_complex_float::iterator_base< container, content, reverse >::decrement(), gsl::block_complex_float::iterator_base< container, content, reverse >::increment(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator*(), gsl::block_complex_float::iterator_t< reverse >::operator-(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator-(), gsl::block_complex_float::const_iterator_t< reverse >::operator-(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator->(), gsl::block_complex_float::iterator_t< reverse >::operator<(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator<(), gsl::block_complex_float::const_iterator_t< reverse >::operator<(), gsl::block_complex_float::const_iterator_t< reverse >::operator=(), gsl::block_complex_float::iterator_t< reverse >::operator=(), gsl::block_complex_float::iterator_t< reverse >::operator==(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator==(), gsl::block_complex_float::const_iterator_t< reverse >::operator==(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator[](), and gsl::block_complex_float::iterator_base< container, content, reverse >::shift().
|
protected |
Store a pointer to a block_complex_float we can iterate over: 0 if no block_complex_float.
Definition at line 560 of file block_complex_float.hpp.
Referenced by gsl::block_complex_float::const_iterator_t< reverse >::const_iterator_t(), gsl::block_complex_float::iterator_base< container, content, reverse >::decrement(), gsl::block_complex_float::iterator_base< container, content, reverse >::increment(), gsl::block_complex_float::iterator_base< container, content, reverse >::iterator_base(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator*(), gsl::block_complex_float::iterator_t< reverse >::operator-(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator-(), gsl::block_complex_float::const_iterator_t< reverse >::operator-(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator->(), gsl::block_complex_float::iterator_t< reverse >::operator<(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator<(), gsl::block_complex_float::const_iterator_t< reverse >::operator<(), gsl::block_complex_float::const_iterator_t< reverse >::operator=(), gsl::block_complex_float::iterator_t< reverse >::operator=(), gsl::block_complex_float::iterator_t< reverse >::operator==(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator==(), gsl::block_complex_float::const_iterator_t< reverse >::operator==(), gsl::block_complex_float::iterator_base< container, content, reverse >::operator[](), and gsl::block_complex_float::iterator_base< container, content, reverse >::shift().