gtkmm: Gtk::BitsetConstIter Class Reference
Alias: Gtk::Bitset::const_iterator. More...
#include <gtkmm/bitsetconstiter.h>
Public Types | |
using | iterator_category = std::bidirectional_iterator_tag |
using | value_type = guint |
using | difference_type = int |
using | reference = value_type |
using | pointer = void |
Public Member Functions | |
BitsetConstIter (const BitsetConstIter& other) | |
BitsetConstIter& | operator= (const BitsetConstIter& other) |
BitsetConstIter (BitsetConstIter&& other) noexcept | |
BitsetConstIter& | operator= (BitsetConstIter&& other) noexcept |
BitsetConstIter& | operator++ () |
BitsetConstIter | operator++ (int) |
BitsetConstIter& | operator-- () |
BitsetConstIter | operator-- (int) |
reference | operator* () const |
operator bool () const noexcept | |
Discovers whether the iterator is valid, and not equal to end(). More... | |
bool | equal (const BitsetConstIter& other) const noexcept |
Related Functions | |
(Note that these are not member functions.) | |
bool | operator== (const BitsetConstIter& lhs, const BitsetConstIter& rhs) |
bool | operator!= (const BitsetConstIter& lhs, const BitsetConstIter& rhs) |
Detailed Description
Alias: Gtk::Bitset::const_iterator.
A BitsetConstIter is a reference to a specific element in a specific bitset.
This is a const_iterator. There is no way to modify the bitset via an iterator. For modifying the bitset, use methods in Gtk::Bitset.
- See also
- Bitset
Member Typedef Documentation
using Gtk::BitsetConstIter::difference_type = int |
using Gtk::BitsetConstIter::pointer = void |
using Gtk::BitsetConstIter::value_type = guint |
Constructor & Destructor Documentation
Gtk::BitsetConstIter::BitsetConstIter | ( | const BitsetConstIter& | other | ) |
|
noexcept |
Member Function Documentation
|
noexcept |
|
explicitnoexcept |
Discovers whether the iterator is valid, and not equal to end().
For instance,
if (bitset_iter)
do_something();
reference Gtk::BitsetConstIter::operator* | ( | ) | const |
BitsetConstIter& Gtk::BitsetConstIter::operator++ | ( | ) |
BitsetConstIter Gtk::BitsetConstIter::operator++ | ( | int | ) |
BitsetConstIter& Gtk::BitsetConstIter::operator-- | ( | ) |
BitsetConstIter Gtk::BitsetConstIter::operator-- | ( | int | ) |
BitsetConstIter& Gtk::BitsetConstIter::operator= | ( | const BitsetConstIter& | other | ) |
|
noexcept |
Friends And Related Function Documentation
|
related |
|
related |