Belofte  version 2.1.5
A promising chess program using the UCI or Winboard interface
bSearchScore Class Reference

Public Member Functions

 bSearchScore (bSearchScore const &sc) noexcept
 
 bSearchScore (bScore const &sc) noexcept
 
 bSearchScore (bScore const &sc, scoretype_t const &st) noexcept
 
 bSearchScore (bBestMoveInfo const &bmi, scoretype_t const &st) noexcept
 
 bSearchScore (bSearchScore &&sc) noexcept
 
 ~bSearchScore ()
 
bSearchScoreoperator= (bSearchScore &&sc) noexcept
 
bSearchScoreoperator= (bScore const &sc) noexcept
 
bSearchScoreoperator= (bScore &&sc) noexcept
 
bSearchScore operator- () const
 
bSearchScoreoperator= (bSearchScore const &)=delete
 
 operator std::string () const
 
bScore getScore () const
 
bScore getRealScore () const
 

Friends

std::string const operator+ (std::string const &lhs, bSearchScore const &sc)
 
std::string const operator+ (bSearchScore const &sc, std::string const &rhs)
 
bool operator> (bScore const &lhsc, bSearchScore const &rhsc)
 
bool operator>= (bScore const &lhsc, bSearchScore const &rhsc)
 
bool operator> (bSearchScore const &lhsc, bScore const &rhsc)
 
bool operator> (bSearchScore const &lhsc, bSearchScore const &rhsc)
 

Detailed Description

Definition at line 21 of file searchscore.h.

Constructor & Destructor Documentation

◆ bSearchScore() [1/5]

bSearchScore::bSearchScore ( bSearchScore const &  sc)
noexcept

Definition at line 23 of file searchscore.cpp.

Referenced by operator-().

+ Here is the caller graph for this function:

◆ bSearchScore() [2/5]

bSearchScore::bSearchScore ( bScore const &  sc)
explicitnoexcept

Definition at line 12 of file searchscore.cpp.

◆ bSearchScore() [3/5]

bSearchScore::bSearchScore ( bScore const &  sc,
scoretype_t const &  st 
)
explicitnoexcept

Definition at line 17 of file searchscore.cpp.

◆ bSearchScore() [4/5]

bSearchScore::bSearchScore ( bBestMoveInfo const &  bmi,
scoretype_t const &  st 
)
explicitnoexcept

Definition at line 35 of file searchscore.cpp.

◆ bSearchScore() [5/5]

bSearchScore::bSearchScore ( bSearchScore &&  sc)
noexcept

Definition at line 29 of file searchscore.cpp.

◆ ~bSearchScore()

bSearchScore::~bSearchScore ( )

Definition at line 63 of file searchscore.cpp.

Member Function Documentation

◆ operator=() [1/4]

bSearchScore & bSearchScore::operator= ( bSearchScore &&  sc)
noexcept

Definition at line 41 of file searchscore.cpp.

◆ operator=() [2/4]

bSearchScore & bSearchScore::operator= ( bScore const &  sc)
noexcept

Definition at line 49 of file searchscore.cpp.

◆ operator=() [3/4]

bSearchScore & bSearchScore::operator= ( bScore &&  sc)
noexcept

Definition at line 56 of file searchscore.cpp.

◆ operator-()

bSearchScore bSearchScore::operator- ( ) const

Definition at line 67 of file searchscore.cpp.

+ Here is the call graph for this function:

◆ operator=() [4/4]

bSearchScore& bSearchScore::operator= ( bSearchScore const &  )
delete

◆ operator std::string()

bSearchScore::operator std::string ( ) const

Definition at line 109 of file searchscore.cpp.

+ Here is the call graph for this function:

◆ getScore()

bScore bSearchScore::getScore ( ) const
inline

Definition at line 38 of file searchscore.h.

Referenced by bSearchAlgorithm::sendInfoSearching().

+ Here is the caller graph for this function:

◆ getRealScore()

bScore bSearchScore::getRealScore ( ) const
inline

Definition at line 39 of file searchscore.h.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator+ [1/2]

std::string const operator+ ( std::string const &  lhs,
bSearchScore const &  sc 
)
friend

Definition at line 79 of file searchscore.cpp.

◆ operator+ [2/2]

std::string const operator+ ( bSearchScore const &  sc,
std::string const &  rhs 
)
friend

Definition at line 84 of file searchscore.cpp.

◆ operator> [1/3]

bool operator> ( bScore const &  lhsc,
bSearchScore const &  rhsc 
)
friend

Definition at line 89 of file searchscore.cpp.

◆ operator>=

bool operator>= ( bScore const &  lhsc,
bSearchScore const &  rhsc 
)
friend

Definition at line 94 of file searchscore.cpp.

◆ operator> [2/3]

bool operator> ( bSearchScore const &  lhsc,
bScore const &  rhsc 
)
friend

Definition at line 99 of file searchscore.cpp.

◆ operator> [3/3]

bool operator> ( bSearchScore const &  lhsc,
bSearchScore const &  rhsc 
)
friend

Definition at line 104 of file searchscore.cpp.