Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
bPgnMove Class Referencefinal

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

#include <pgnmove.h>

Public Member Functions

 bPgnMove (bPgnMove const &m)
 
 bPgnMove (bBoard &b, bMove const &m)
 
 bPgnMove (bBoard &b, basicmove_t const bm)
 create PGN move based on basicmove_t for this, we create all moves in position and compare it
 
 ~bPgnMove ()
 
bPgnMoveoperator= (bPgnMove const &)=delete
 
 bPgnMove (bPgnMove &&)=delete
 
bPgnMoveoperator= (bPgnMove &&)=delete
 
 operator std::string () const
 embedded base constructor
 
std::string const & getMoveEvalStr () const
 

Friends

bool operator== (bPgnMove const &lhs, std::string const &rhs)
 
std::ostream & operator<< (std::ostream &os, bPgnMove const &m)
 

Detailed Description

PgnMove is for user-interface only.

Definition at line 12 of file pgnmove.h.

Constructor & Destructor Documentation

◆ bPgnMove() [1/4]

bPgnMove::bPgnMove ( bPgnMove const &  m)
explicit

Definition at line 29 of file pgnmove.cpp.

◆ bPgnMove() [2/4]

bPgnMove::bPgnMove ( bBoard b,
bMove const &  m 
)
explicit

Definition at line 35 of file pgnmove.cpp.

◆ bPgnMove() [3/4]

bPgnMove::bPgnMove ( bBoard b,
basicmove_t const  bm 
)
explicit

create PGN move based on basicmove_t for this, we create all moves in position and compare it

Definition at line 15 of file pgnmove.cpp.

+ Here is the call graph for this function:

◆ ~bPgnMove()

bPgnMove::~bPgnMove ( )

Definition at line 126 of file pgnmove.cpp.

◆ bPgnMove() [4/4]

bPgnMove::bPgnMove ( bPgnMove &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

bPgnMove & bPgnMove::operator= ( bPgnMove &&  )
delete

◆ operator std::string()

bPgnMove::operator std::string ( ) const

embedded base constructor

◆ getMoveEvalStr()

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

Definition at line 29 of file pgnmove.h.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( bPgnMove const &  lhs,
std::string const &  rhs 
)
friend

Definition at line 151 of file pgnmove.cpp.

◆ operator<<

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

Definition at line 157 of file pgnmove.cpp.