![]()  | 
  
    MySQL 8.4.7
    
   Source Code Documentation 
   | 
 
This class is the iterator class for Gis_wkb_vector, its instances can be used to mutate their referenced data element. More...
#include <spatial.h>
Public Types | |
| typedef ptrdiff_t | index_type | 
| typedef T | value_type | 
| typedef ptrdiff_t | difference_type | 
| typedef difference_type | distance_type | 
| typedef value_type & | reference | 
| typedef value_type * | pointer | 
| typedef std::random_access_iterator_tag | iterator_category | 
  Public Types inherited from Gis_wkb_vector_const_iterator< T > | |
| typedef T | value_type | 
| typedef ptrdiff_t | difference_type | 
| typedef difference_type | distance_type | 
| typedef owner_t::size_type | size_type | 
| typedef value_type & | reference | 
| This is the return type for operator[].  More... | |
| typedef value_type * | pointer | 
| typedef std::random_access_iterator_tag | iterator_category | 
Public Member Functions | |
Constructors and destructor  | |
Begin public constructors and destructor. Do not construct iterators explicitly using these constructors, but call Gis_wkb_vector::begin to get a valid iterator. 
  | |
| Gis_wkb_vector_iterator (const self &vi) | |
| Gis_wkb_vector_iterator () | |
| Gis_wkb_vector_iterator (const base &obj) | |
| Gis_wkb_vector_iterator (index_type idx, const owner_t *owner) | |
| ~Gis_wkb_vector_iterator ()=default | |
Iterator movement operators.  | |
Begin functions that shift the iterator position. These functions are identical to those defined in Gis_wkb_vector_const_iterator, but we have to redefine them here because the "self" have different definitions. These functions have identical behaviors and semantics as those of Gis_wkb_vector_const_iterator, so please refer to equivalent in that class.  | |
| self & | operator++ () | 
| Pre-increment.  More... | |
| self | operator++ (int) | 
| Post-increment.  More... | |
| self & | operator-- () | 
| Pre-decrement.  More... | |
| self | operator-- (int) | 
| Post-decrement.  More... | |
| const self & | operator= (const self &itr) | 
| Assignment operator.  More... | |
| self | operator+ (difference_type n) const | 
| Iterator movement operator.  More... | |
| const self & | operator+= (difference_type n) | 
| Move this iterator backward by n elements.  More... | |
| self | operator- (difference_type n) const | 
| Iterator movement operator.  More... | |
| const self & | operator-= (difference_type n) | 
| Move this iterator forward by n elements.  More... | |
| difference_type | operator- (const self &itr) const | 
| Iterator distance operator.  More... | |
Functions that retrieve values from the iterator.  | |
| reference | operator* () const | 
| Dereference operator.  More... | |
| pointer | operator-> () const | 
| Arrow operator.  More... | |
| reference | operator[] (difference_type offset) const | 
| Iterator index operator.  More... | |
  Public Member Functions inherited from Gis_wkb_vector_const_iterator< T > | |
| Gis_wkb_vector_const_iterator (const self &vi) | |
| Gis_wkb_vector_const_iterator () | |
| Gis_wkb_vector_const_iterator (index_type idx, const owner_t *owner) | |
| ~Gis_wkb_vector_const_iterator ()=default | |
| bool | operator== (const self &itr) const | 
| Equality comparison operator.  More... | |
| bool | operator!= (const self &itr) const | 
| Unequal compare, identical to !operator(==itr)  More... | |
| bool | operator< (const self &itr) const | 
| Less than comparison operator.  More... | |
| bool | operator<= (const self &itr) const | 
| Less equal comparison operator.  More... | |
| bool | operator>= (const self &itr) const | 
| Greater equal comparison operator.  More... | |
| bool | operator> (const self &itr) const | 
| Greater comparison operator.  More... | |
| self & | operator++ () | 
| Pre-increment.  More... | |
| self | operator++ (int) | 
| Post-increment.  More... | |
| self & | operator-- () | 
| Pre-decrement.  More... | |
| self | operator-- (int) | 
| Post-decrement.  More... | |
| const self & | operator= (const self &itr) | 
| Assignment operator.  More... | |
| self | operator+ (difference_type n) const | 
| Iterator movement operator.  More... | |
| const self & | operator+= (difference_type n) | 
| Move this iterator forward by n elements.  More... | |
| self | operator- (difference_type n) const | 
| Iterator movement operator.  More... | |
| const self & | operator-= (difference_type n) | 
| Move this iterator backward by n elements.  More... | |
| difference_type | operator- (const self &itr) const | 
| Iterator distance operator.  More... | |
| reference | operator* () const | 
| Dereference operator.  More... | |
| pointer | operator-> () const | 
| Arrow operator.  More... | |
| reference | operator[] (difference_type offset) const | 
| Iterator index operator.  More... | |
Protected Types | |
| typedef Gis_wkb_vector_iterator< T > | self | 
| typedef Gis_wkb_vector_const_iterator< T > | base | 
| typedef Gis_wkb_vector< T > | owner_t | 
  Protected Types inherited from Gis_wkb_vector_const_iterator< T > | |
| typedef Gis_wkb_vector_const_iterator< T > | self | 
| typedef Gis_wkb_vector< T > | owner_t | 
| typedef ptrdiff_t | index_type | 
Additional Inherited Members | |
  Protected Member Functions inherited from Gis_wkb_vector_const_iterator< T > | |
| void | move_by (self &itr, difference_type n, bool back) const | 
  Protected Attributes inherited from Gis_wkb_vector_const_iterator< T > | |
| index_type | m_curidx | 
| Current element's index, starting from 0.  More... | |
| owner_t * | m_owner | 
| The owner container of this iteraotr.  More... | |
This class is the iterator class for Gis_wkb_vector, its instances can be used to mutate their referenced data element.
| T | Vector element type | 
      
  | 
  protected | 
| typedef ptrdiff_t Gis_wkb_vector_iterator< T >::difference_type | 
| typedef difference_type Gis_wkb_vector_iterator< T >::distance_type | 
| typedef ptrdiff_t Gis_wkb_vector_iterator< T >::index_type | 
| typedef std::random_access_iterator_tag Gis_wkb_vector_iterator< T >::iterator_category | 
      
  | 
  protected | 
| typedef value_type* Gis_wkb_vector_iterator< T >::pointer | 
| typedef value_type& Gis_wkb_vector_iterator< T >::reference | 
      
  | 
  protected | 
| typedef T Gis_wkb_vector_iterator< T >::value_type | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  default | 
      
  | 
  inline | 
Dereference operator.
Return the reference to the cached data element The returned value can be used to read or update its referenced element.
      
  | 
  inline | 
Iterator movement operator.
Return another iterator by moving this iterator backward by n elements.
| n | The amount and direction of movement. If negative, will move forward by |n| element. | 
      
  | 
  inline | 
Pre-increment.
      
  | 
  inline | 
Post-increment.
      
  | 
  inline | 
Move this iterator backward by n elements.
| n | The amount and direction of movement. If negative, will move forward by |n| element. | 
      
  | 
  inline | 
Iterator distance operator.
Return the index difference of this iterator and itr, so if this iterator sits on an element with a smaller index, this call will return a negative number.
| itr | The other iterator to subtract. itr can be the invalid iterator after last element or before first element, their index will be regarded as last element's index + 1 and -1 respectively. | 
      
  | 
  inline | 
Iterator movement operator.
Return another iterator by moving this iterator forward by n elements.
| n | The amount and direction of movement. If negative, will move backward by |n| element. | 
      
  | 
  inline | 
Pre-decrement.
      
  | 
  inline | 
Post-decrement.
      
  | 
  inline | 
Move this iterator forward by n elements.
| n | The amount and direction of movement. If negative, will move backward by |n| element. | 
      
  | 
  inline | 
Arrow operator.
Return the pointer to the cached data element The returned value can be used to read or update its referenced element.
      
  | 
  inline | 
Assignment operator.
This iterator will point to the same key/data pair as itr, and have the same configurations as itr.
| itr | The right value of the assignment. | 
      
  | 
  inline | 
Iterator index operator.
| offset | The offset of target element relative to this iterator. |