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


Public Types | |
| typedef iterator_base< vector_floatconst, float, reverse_t >::difference_type | difference_type |
| Difference type. More... | |
Public Types inherited from gsl::vector_float::iterator_base< vector_float const, float, reverse_t > | |
| typedef std::random_access_iterator_tag | iterator_category |
| An iterator must have an iterator category. More... | |
| typedef float | value_type |
| An iterator must have a value type. More... | |
| typedef value_type * | pointer |
| An iterator must have a pointer typea. More... | |
| typedef value_type & | reference |
| An iterator must have a reference type. More... | |
| typedef ptrdiff_t | difference_type |
| An iterator must have a difference_type. More... | |
Public Member Functions | |
| const_iterator_t< reverse_t > & | operator= (const_iterator_t< reverse_t > const &i) |
| We can assign one output iterator from another. More... | |
| const_iterator_t< reverse_t > & | operator++ () |
| The prefix ++ operator. More... | |
| const_iterator_t< reverse_t > | operator++ (int) |
| The postfix ++ operator. More... | |
| const_iterator_t< reverse_t > & | operator-- () |
| The prefix – operator. More... | |
| const_iterator_t< reverse_t > | operator-- (int) |
| The postfix – operator. More... | |
| const_iterator_t< reverse_t > & | operator+= (difference_type const n) |
| The += operator. More... | |
| const_iterator_t< reverse_t > & | operator-= (difference_type const n) |
| The -= operator. More... | |
| const_iterator_t< reverse_t > | operator+ (difference_type const n) const |
| The + operator. More... | |
| const_iterator_t< reverse_t > | operator- (difference_type const n) const |
| The - operator: subtract distance from iterator. More... | |
| difference_type | operator- (const_iterator_t< reverse_t > const &i) const |
| The - operator: find distance between two iterators. More... | |
| difference_type | operator- (iterator_t< reverse_t > const &i) const |
| The - operator: find distance between two iterators. More... | |
| const_iterator_t () | |
| The default constructor. More... | |
| const_iterator_t (iterator_t< reverse_t > const &i) | |
| A copy constructor. More... | |
| bool | operator== (iterator_t< reverse_t > const &i) const |
| Comparison with non-const iterator. More... | |
| bool | operator!= (iterator_t< reverse_t > const &i) const |
| Comparison with non-const iterator. More... | |
| bool | operator< (iterator_t< reverse_t > const &i) const |
| Comparison with non-const iterator. 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... | |
| bool | operator< (const_iterator_t< reverse_t > const &i) const |
| Comparison with const iterator. More... | |
Public Member Functions inherited from gsl::vector_float::iterator_base< vector_float const, float, reverse_t > | |
| 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< vector_float const, float, reverse_t > const &i) const |
| The - operator: find distance between two iterators. More... | |
| bool | operator== (iterator_base< vector_float const, float, reverse_t > const &i) const |
| The == operator. More... | |
| bool | operator!= (iterator_base< vector_float const, float, reverse_t > const &i) const |
| The != operator. More... | |
| bool | operator< (iterator_base< vector_float const, float, reverse_t > const &i) const |
| The < operator is used to compare iterators. More... | |
Protected Member Functions | |
| const_iterator_t (vector_float const *v, difference_type position) | |
| This constructor allows vector_float to create non-default iterators. More... | |
Protected Member Functions inherited from gsl::vector_float::iterator_base< vector_float const, float, reverse_t > | |
| void | increment () |
| Increment the iterator. More... | |
| void | decrement () |
| Decrement the iterator. More... | |
| void | shift (difference_type const n) |
| Shift iterator n places. More... | |
| iterator_base () | |
| The iterator is default constructible. More... | |
| iterator_base (vector_float const *v, difference_type position) | |
| This constructor allows vector_float to create non-default iterators. More... | |
Friends | |
| class | vector_float |
Additional Inherited Members | |
Protected Attributes inherited from gsl::vector_float::iterator_base< vector_float const, float, reverse_t > | |
| vector_float const * | v |
| Store a pointer to a vector_float we can iterate over: 0 if no vector_float. More... | |
| difference_type | position |
| Mark position of iterator within vector_float. More... | |
A class template for the const iterators.
Definition at line 836 of file vector_float.hpp.
| typedef iterator_base<vector_floatconst,float,reverse_t>::difference_type gsl::vector_float::const_iterator_t< reverse_t >::difference_type |
Difference type.
Definition at line 894 of file vector_float.hpp.
|
inline |
The default constructor.
Definition at line 972 of file vector_float.hpp.
|
inline |
A copy constructor.
| i | The non-const iterator to copy |
Definition at line 977 of file vector_float.hpp.
References gsl::vector_float::iterator_base< container, content, reverse_t >::position, and gsl::vector_float::iterator_base< container, content, reverse_t >::v.
|
inlineprotected |
This constructor allows vector_float to create non-default iterators.
| v | The vector_float that creates this |
| position | The initial postion of the iterator |
Definition at line 1059 of file vector_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 1029 of file vector_float.hpp.
References gsl::vector_float::const_iterator_t< reverse_t >::operator==().
|
inline |
Comparison with non-const iterator.
| i | another iterator |
false or true according as this points to same element as i Definition at line 994 of file vector_float.hpp.
References gsl::vector_float::const_iterator_t< reverse_t >::operator==().
|
inline |
The + operator.
| n | A difference_type value to be added |
Definition at line 922 of file vector_float.hpp.
References gsl::rstat::n().
|
inline |
The prefix ++ operator.
this Definition at line 856 of file vector_float.hpp.
References gsl::vector_float::iterator_base< container, content, reverse_t >::increment().
|
inline |
The postfix ++ operator.
this Definition at line 864 of file vector_float.hpp.
References gsl::vector_float::iterator_base< container, content, reverse_t >::increment().
|
inline |
The += operator.
| n | A difference_type value to be added to position of iterator |
this Definition at line 901 of file vector_float.hpp.
References gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::shift().
|
inline |
The - operator: find distance between two iterators.
| i | A second iterator |
this and i Definition at line 944 of file vector_float.hpp.
References gsl::vector_float::iterator_base< container, content, reverse_t >::operator-().
|
inline |
The - operator: subtract distance from iterator.
| n | A difference_type value to be subtracted |
Definition at line 934 of file vector_float.hpp.
References gsl::rstat::n().
|
inline |
The - operator: find distance between two iterators.
| i | A second iterator |
this and i Definition at line 952 of file vector_float.hpp.
References gsl::vector_float::ccgsl_pointer, gsl::exception::GSL_EFAILED, gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::position, gsl::vector_float::iterator_base< container, content, reverse_t >::position, gsl::vector_float::iterator_base< container, content, reverse_t >::v, and gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::v.
|
inline |
The prefix – operator.
this Definition at line 876 of file vector_float.hpp.
References gsl::vector_float::iterator_base< container, content, reverse_t >::decrement().
|
inline |
The postfix – operator.
this Definition at line 884 of file vector_float.hpp.
References gsl::vector_float::iterator_base< container, content, reverse_t >::decrement().
|
inline |
The -= operator.
| n | A difference_type value to be subtracted from position of iterator |
this Definition at line 911 of file vector_float.hpp.
References gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::shift().
|
inline |
Comparison with const iterator.
| i | another iterator |
true or false according as this points to earlier element than i Definition at line 1037 of file vector_float.hpp.
References gsl::vector_float::ccgsl_pointer, gsl::exception::GSL_EFAILED, gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::position, gsl::vector_float::iterator_base< container, content, reverse_t >::position, gsl::vector_float::iterator_base< container, content, reverse_t >::v, and gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::v.
|
inline |
Comparison with non-const iterator.
| i | another iterator |
true or false according as this points to earlier element than i Definition at line 1002 of file vector_float.hpp.
References gsl::vector_float::ccgsl_pointer, gsl::exception::GSL_EFAILED, gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::position, gsl::vector_float::iterator_base< container, content, reverse_t >::position, gsl::vector_float::iterator_base< container, content, reverse_t >::v, and gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::v.
|
inline |
We can assign one output iterator from another.
| i | The iterator to copy |
Definition at line 845 of file vector_float.hpp.
References gsl::vector_float::iterator_base< container, content, reverse_t >::position, and gsl::vector_float::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 1021 of file vector_float.hpp.
References gsl::vector_float::iterator_base< container, content, reverse_t >::position, gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::position, gsl::vector_float::iterator_base< container, content, reverse_t >::v, and gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::v.
|
inline |
Comparison with non-const iterator.
| i | another iterator |
true or false according as this points to same element as i Definition at line 986 of file vector_float.hpp.
References gsl::vector_float::iterator_base< container, content, reverse_t >::position, gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::position, gsl::vector_float::iterator_base< container, content, reverse_t >::v, and gsl::vector_float::iterator_base< vector_float const, float, reverse_t >::v.
Referenced by gsl::vector_float::const_iterator_t< reverse_t >::operator!=().
|
friend |
Definition at line 1053 of file vector_float.hpp.