Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
bPgnMove Class Reference

PgnMove is for user-interface only. More...

#include <pgnmove.h>

Public Member Functions

 bPgnMove (bPgnMove const &pm) noexcept
 
 bPgnMove (bPgnMove &&pm) noexcept
 
 bPgnMove (bBoard const &b, bmove_t const bmt)
 create PGN move based on bMove
 
 ~bPgnMove ()
 
bPgnMoveoperator= (bPgnMove const &)=delete
 
bPgnMoveoperator= (bPgnMove &&)=delete
 
bool operator== (std::string const &rhs) const
 
std::string const & getMoveEvalStr () const
 
 operator std::string () const
 

Friends

std::ostream & operator<< (std::ostream &os, bPgnMove const &m)
 embedded base constructor
 

Detailed Description

PgnMove is for user-interface only.

Definition at line 14 of file pgnmove.h.

Constructor & Destructor Documentation

◆ bPgnMove() [1/3]

bPgnMove::bPgnMove ( bPgnMove const & pm)
inlineexplicitnoexcept

Definition at line 16 of file pgnmove.h.

Referenced by bPgnMove(), bPgnMove(), operator<<, operator=(), and operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bPgnMove() [2/3]

bPgnMove::bPgnMove ( bPgnMove && pm)
inlineexplicitnoexcept

Definition at line 20 of file pgnmove.h.

+ Here is the call graph for this function:

◆ bPgnMove() [3/3]

bPgnMove::bPgnMove ( bBoard const & b,
bmove_t const bmt )
explicit

create PGN move based on bMove

Definition at line 15 of file pgnmove.cpp.

+ Here is the call graph for this function:

◆ ~bPgnMove()

bPgnMove::~bPgnMove ( )
inline

Definition at line 25 of file pgnmove.h.

Member Function Documentation

◆ operator=() [1/2]

bPgnMove & bPgnMove::operator= ( bPgnMove const & )
delete
+ Here is the call graph for this function:

◆ operator=() [2/2]

bPgnMove & bPgnMove::operator= ( bPgnMove && )
delete
+ Here is the call graph for this function:

◆ operator==()

bool bPgnMove::operator== ( std::string const & rhs) const
inline

Definition at line 32 of file pgnmove.h.

◆ getMoveEvalStr()

std::string const & bPgnMove::getMoveEvalStr ( ) const
inline

Definition at line 35 of file pgnmove.h.

Referenced by bPgnMoveList::operator<<.

+ Here is the caller graph for this function:

◆ operator std::string()

bPgnMove::operator std::string ( ) const
inline

Definition at line 38 of file pgnmove.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
bPgnMove const & m )
friend

embedded base constructor

Definition at line 44 of file pgnmove.h.