|
Belofte version 2.2.0
A promising chess program using the UCI or Winboard interface
|
position on board, defined as 255 if invalid used primarily to compose a move or a source or destination field does not contain the piece that occupies it More...
#include <case.h>
Public Member Functions | |
| bCase () | |
| bCase (bCase &&cf) | |
| bCase (case_t cf) | |
| bCase (std::string const &s) | |
| bCase (column_t const c, rank_t const r) | |
| ~bCase () | |
| bCase (bCase const &)=delete | |
| bCase & | operator= (bCase const &)=delete |
| bCase & | operator= (bCase &&)=delete |
| bCase & | operator= (std::string const &s) |
| bool | operator== (bCase const rhs) const |
| constexpr column_t | column0 () const |
| constexpr rank_t | rank0 () const |
| constexpr column_t | column () const |
| constexpr rank_t | rank () const |
| constexpr case_t | getCaseT () const |
| operator std::string () const | |
Static Public Member Functions | |
| static constexpr case_t | coordToCase (column_t const c, rank_t const r) |
| static constexpr column_t | column0 (case_t const cf) |
| static constexpr rank_t | rank0 (case_t const cf) |
| static constexpr column_t | column (case_t const cf) |
| static constexpr rank_t | rank (case_t const cf) |
| static constexpr boardbitmap_t | caseToBit (case_t const cf) |
Friends | |
| std::ostream & | operator<< (std::ostream &os, bCase const &cf) |
position on board, defined as 255 if invalid used primarily to compose a move or a source or destination field does not contain the piece that occupies it
|
inlineexplicit |
Definition at line 20 of file case.h.
Referenced by bCase(), bCase(), operator<<, operator=(), operator=(), operator=(), and operator==().
Here is the caller graph for this function:
|
explicit |
Here is the call graph for this function:
|
explicit |
|
delete |
Here is the call graph for this function:| bCase & bCase::operator= | ( | std::string const & | s | ) |
| bool bCase::operator== | ( | bCase const | rhs | ) | const |
|
inlineconstexpr |
Definition at line 37 of file case.h.
Referenced by column0(), and operator std::string().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineconstexpr |
Definition at line 39 of file case.h.
Referenced by operator std::string(), and rank0().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineconstexpr |
Definition at line 41 of file case.h.
Referenced by bBlackPawn::addCapturePawnMove(), bWhitePawn::addCapturePawnMove(), bBlackPawn::addCapturePromotionMove(), bWhitePawn::addCapturePromotionMove(), bBlackPawn::addEPMove(), bWhitePawn::addEPMove(), bBlackPiece::addMoves(), bWhitePiece::addMoves(), bBlackPawn::addNonCapturePromotionMove(), bWhitePawn::addNonCapturePromotionMove(), bBlackPawn::canMovePreflightCheck(), bBlackPiece::canMovePreflightCheck(), bWhitePawn::canMovePreflightCheck(), bWhitePiece::canMovePreflightCheck(), column(), destinationbits(), bBasicMove::fromcolumn(), bBlackPawn::GenerateMoves(), bWhitePawn::GenerateMoves(), bBlackPiece::isAttacked(), bWhitePiece::isAttacked(), bBasicBoard::setEp(), bBasicMove::tocolumn(), and bBasicBoard::unMakeBoardMove().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineconstexpr |
Definition at line 43 of file case.h.
Referenced by bBlackPawn::addCapturePawnMove(), bWhitePawn::addCapturePawnMove(), bBlackPawn::addEPMove(), bWhitePawn::addEPMove(), bBlackPiece::addMoves(), bWhitePiece::addMoves(), bBlackPawn::addNonCapturePawnMove(), bWhitePawn::addNonCapturePawnMove(), bBlackPawn::canMovePreflightCheck(), bBlackPiece::canMovePreflightCheck(), bWhitePawn::canMovePreflightCheck(), bWhitePiece::canMovePreflightCheck(), destinationbits(), bBasicMove::fromrank(), bBlackPawn::GenerateMoves(), bWhitePawn::GenerateMoves(), bBlackPawn::hasValidMovePreflightCheck(), bWhitePawn::hasValidMovePreflightCheck(), bBlackPiece::isAttacked(), bWhitePiece::isAttacked(), rank(), and bBasicMove::torank().
Here is the call graph for this function:
Here is the caller graph for this function:| bCase::operator std::string | ( | ) | const |
|
inlinestaticconstexpr |
Definition at line 51 of file case.h.
Referenced by bBlackPawn::addCapturePawnMove(), bWhitePawn::addCapturePawnMove(), bBlackPawn::addCapturePromotionMove(), bWhitePawn::addCapturePromotionMove(), bBlackPawn::addEPMove(), bWhitePawn::addEPMove(), bBlackPiece::addMoves(), bWhitePiece::addMoves(), bBlackPawn::addNonCapturePromotionMove(), bWhitePawn::addNonCapturePromotionMove(), bBasicBoard::applyBlackMove(), bBasicBoard::applyWhiteMove(), bBasicBoard::bBasicBoard(), bCase(), bCase(), bPositionEvaluation::bPositionEvaluation(), destinationbits(), bBasicBoard::getEp(), bBasicBoard::getPiece(), bBasicBoard::getPieceCtl(), bBoard::invertColours(), bBasicBoard::isFieldEmpty(), bBasicBoard::makeBoardMove(), operator=(), bBasicBoard::removePiece(), bBasicBoard::setGetPiece(), bBasicBoard::unApplyMove(), and bBasicBoard::unMakeBoardMove().
Here is the caller graph for this function:
|
inlinestaticconstexpr |
Definition at line 66 of file case.h.
Referenced by destinationbits().
Here is the caller graph for this function: