#include <CGAL/OSM/Bitboard.h>
|
|
using | iterator_category = std::forward_iterator_tag |
| | C++ mandatory type definitions.
|
| |
|
using | difference_type = std::ptrdiff_t |
| |
|
using | value_type = std::uint64_t |
| |
|
using | pointer = value_type * |
| |
|
using | reference = value_type & |
| |
◆ reverse_iterator()
| CGAL::OSM::Bitboard::reverse_iterator::reverse_iterator |
( |
const std::size_t |
_index, |
|
|
const std::size_t |
_size, |
|
|
const std::vector< std::uint64_t > & |
_boards |
|
) |
| |
Reverse iterator constructor.
- Parameters
-
| [in] | _index | The initial index. |
| [in] | _size | The bitboard size. |
| [in] | _boards | The reference to the bitboards. |
◆ operator*()
| const std::size_t CGAL::OSM::Bitboard::reverse_iterator::operator* |
( |
| ) |
const |
Iterator dereference.
- Returns
- A no-null index on the billboard or past-the-end index.
◆ operator++() [1/2]
Prefix incrementation.
Finds the next not-null index.
- Returns
- The reference to the current iterator.
◆ operator++() [2/2]
Postfix incrementation.
Finds the next not-null index.
- Returns
- The pre-incremented iterator.
◆ operator!=
Inequality check.
- Returns
- True if the indices are different.
◆ operator==
Equality check.
- Returns
- True if the indices are equal.