The POD base type of class BitBoard. More...
#include <BitBoard.h>
Public Attributes | |
mask_t | M_bitmask |
A one-bit-per-square chessboard mask. More... | |
The POD base type of class BitBoard.
This class contains a 64-bit unsigned integer where each bit represents one square on the chessboard.
It may not have constructors or destructors, because it is needed that this struct is POD in order for optimisation to work.
Definition at line 87 of file BitBoard.h.
mask_t cwchess::BitBoardData::M_bitmask |
A one-bit-per-square chessboard mask.
The least significant bit represents square a1. The next bit b1, c1, ... h1, a2, b2, ... etcetera till h8.
Definition at line 93 of file BitBoard.h.
Referenced by cwchess::BitBoard::BitBoard(), cwchess::ChessPosition::candidates(), cwchess::ChessPosition::defendables(), cwchess::BitBoard::operator void* (), cwchess::operator&(), cwchess::BitBoard::operator()(), cwchess::BitBoard::operator=(), cwchess::operator^(), cwchess::operator|(), cwchess::operator~(), cwchess::BitBoard::operator~(), cwchess::ChessPosition::place(), cwchess::ChessPosition::reachables(), cwchess::BitBoard::reset(), cwchess::BitBoard::set(), cwchess::BitBoard::test(), and cwchess::BitBoard::toggle().