Belofte
version 2.1.8
A promising chess program using the UCI or Winboard interface
bestmoveinfo.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------+
2
* File: bestmoveinfo.h
3
* Project: part of belofte - A Promising Chess Program
4
* Author: yves
5
* SPDX-License-Identifier: GPL-2.0-only
6
+----------------------------------------------------------------------*/
7
8
#if !defined(BESTMOVEINFO_H)
9
#define BESTMOVEINFO_H
10
11
typedef
int16_t
bScore
;
12
13
//-----------------------------------------------------------------------
14
15
class
bBestMoveInfo
{
16
public
:
17
bBestMoveInfo
();
18
bBestMoveInfo
(
bScore
const
_score,
movenum_t
const
_moveid);
19
bBestMoveInfo
(
bBestMoveInfo
const
& bmi);
20
bBestMoveInfo
(
bBestMoveInfo
&& bmi)
noexcept
;
21
~bBestMoveInfo
();
22
23
bBestMoveInfo
&
operator=
(
bBestMoveInfo
const
& bmi);
24
bBestMoveInfo
&
operator=
(
bBestMoveInfo
&& bmi)
noexcept
;
25
26
bScore
score
;
27
movenum_t
moveid
;
28
};
29
30
#endif
// defined BESTMOVEINFO_H
31
32
// eof
movenum_t
uint_fast8_t movenum_t
Definition
belofte.h:109
bScore
int16_t bScore
Definition
bestmoveinfo.h:11
bBestMoveInfo
Definition
bestmoveinfo.h:15
bBestMoveInfo::~bBestMoveInfo
~bBestMoveInfo()
Definition
bestmoveinfo.cpp:50
bBestMoveInfo::bBestMoveInfo
bBestMoveInfo()
Definition
bestmoveinfo.cpp:12
bBestMoveInfo::moveid
movenum_t moveid
Definition
bestmoveinfo.h:27
bBestMoveInfo::score
bScore score
Definition
bestmoveinfo.h:26
bBestMoveInfo::operator=
bBestMoveInfo & operator=(bBestMoveInfo const &bmi)
Definition
bestmoveinfo.cpp:36
src
bestmoveinfo.h
Generated on 10/10/2024 by
1.9.8