See ChessPosition.h.