MySQL  8.0.16
Source Code Documentation
Gtid_set::Const_interval_iterator Class Reference

Iterator over intervals of a const Gtid_set. More...

#include <rpl_gtid.h>

Inheritance diagram for Gtid_set::Const_interval_iterator:
Gtid_set::Interval_iterator_base< const Gtid_set *, const Interval *>

Public Member Functions

 Const_interval_iterator (const Gtid_set *gtid_set, rpl_sidno sidno)
 Create this Const_interval_iterator. More...
 
 Const_interval_iterator (const Gtid_set *gtid_set)
 Create this Const_interval_iterator. More...
 
- Public Member Functions inherited from Gtid_set::Interval_iterator_base< const Gtid_set *, const Interval *>
 Interval_iterator_base (const Gtid_set * gtid_set, rpl_sidno sidno)
 Construct a new iterator over the GNO intervals for a given Gtid_set. More...
 
 Interval_iterator_base (const Gtid_set * gtid_set)
 Construct a new iterator over the free intervals of a Gtid_set. More...
 
void init (const Gtid_set * gtid_set, rpl_sidno sidno)
 Reset this iterator. More...
 
void next ()
 Advance current_elem one step. More...
 
const Intervalget () const
 Return current_elem. More...
 

Additional Inherited Members

- Protected Attributes inherited from Gtid_set::Interval_iterator_base< const Gtid_set *, const Interval *>
const Interval * * p
 Holds the address of the 'next' pointer of the previous element, or the address of the initial pointer into the list, if the current element is the first element. More...
 

Detailed Description

Iterator over intervals of a const Gtid_set.

Constructor & Destructor Documentation

◆ Const_interval_iterator() [1/2]

Gtid_set::Const_interval_iterator::Const_interval_iterator ( const Gtid_set gtid_set,
rpl_sidno  sidno 
)
inline

Create this Const_interval_iterator.

◆ Const_interval_iterator() [2/2]

Gtid_set::Const_interval_iterator::Const_interval_iterator ( const Gtid_set gtid_set)
inline

Create this Const_interval_iterator.


The documentation for this class was generated from the following file: