My Project
|
#include <rpl_gtid.h>
Public Member Functions | |
Interval_iterator_base (Gtid_set_p gtid_set, rpl_sidno sidno) | |
Interval_iterator_base (Gtid_set_p gtid_set) | |
Construct a new iterator over the free intervals of a Gtid_set. | |
void | init (Gtid_set_p gtid_set, rpl_sidno sidno) |
Reset this iterator. | |
void | next () |
Advance current_elem one step. | |
Interval_p | get () const |
Return current_elem. | |
Protected Attributes | |
Interval_p * | p |
Iterator over intervals for a given SIDNO.
This is an abstract template class, used as a common base class for Const_interval_iterator and Interval_iterator.
The iterator always points to an interval pointer. The interval pointer is either the initial pointer into the list, or the next pointer of one of the intervals in the list.
Gtid_set::Interval_iterator_base< Gtid_set_p, Interval_p >::Interval_iterator_base | ( | Gtid_set_p | gtid_set, |
rpl_sidno | sidno | ||
) | [inline] |
Interval_p* Gtid_set::Interval_iterator_base< Gtid_set_p, Interval_p >::p [protected] |
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.