|
CGAL 6.1 - Homological Discrete Vector Fields
|
#include <CGAL/OSM/Bitboard.h>
Public Types | |
| 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 & |
Public Member Functions | |
| iterator (const std::size_t _index, const std::size_t _size, const std::vector< std::uint64_t > &_boards) | |
| Iterator constructor. | |
| const std::size_t | operator* () const |
| Iterator dereference. | |
| iterator & | operator++ () |
| Prefix incrementation. | |
| iterator | operator++ (int) |
| Postfix incrementation. | |
Friends | |
| bool | operator== (const iterator &a, const iterator &b) |
| Equality check. | |
| bool | operator!= (const iterator &a, const iterator &b) |
| Inequality check. | |
| CGAL::OSM::Bitboard::iterator::iterator | ( | const std::size_t | _index, |
| const std::size_t | _size, | ||
| const std::vector< std::uint64_t > & | _boards | ||
| ) |
Iterator constructor.
| [in] | _index | The initial index. |
| [in] | _size | The bitboard size. |
| [in] | _boards | The reference to the bitboards. |
| const std::size_t CGAL::OSM::Bitboard::iterator::operator* | ( | ) | const |
Iterator dereference.
| iterator & CGAL::OSM::Bitboard::iterator::operator++ | ( | ) |
Prefix incrementation.
Finds the next not-null index.
| iterator CGAL::OSM::Bitboard::iterator::operator++ | ( | int | ) |
Postfix incrementation.
Finds the next not-null index.
Inequality check.