All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
osl::record::opening::OMove Class Reference

#include <openingBook.h>

Public Member Functions

 OMove (int i)
 
 OMove (Move m)
 
Square getFrom ()
 
Square getTo ()
 
bool isPromotion ()
 
Ptype getCapturePtype ()
 
Ptype getPtype ()
 
Player getPlayer ()
 
 operator Move ()
 
 operator int ()
 

Private Attributes

int value
 

Detailed Description

Definition at line 16 of file openingBook.h.

Constructor & Destructor Documentation

osl::record::opening::OMove::OMove ( int  i)
inline

Definition at line 19 of file openingBook.h.

References value.

osl::record::opening::OMove::OMove ( Move  m)
inline

Member Function Documentation

Ptype osl::record::opening::OMove::getCapturePtype ( )
inline

Definition at line 52 of file openingBook.h.

References value.

Referenced by operator Move().

Square osl::record::opening::OMove::getFrom ( )
inline

Definition at line 34 of file openingBook.h.

References osl::Square::STAND(), and value.

Referenced by operator Move().

Player osl::record::opening::OMove::getPlayer ( )
inline

Definition at line 60 of file openingBook.h.

References value.

Referenced by operator Move().

Ptype osl::record::opening::OMove::getPtype ( )
inline

Definition at line 56 of file openingBook.h.

References value.

Referenced by operator Move().

Square osl::record::opening::OMove::getTo ( )
inline

Definition at line 41 of file openingBook.h.

References osl::Square::STAND(), and value.

Referenced by operator Move().

bool osl::record::opening::OMove::isPromotion ( )
inline

Definition at line 48 of file openingBook.h.

References value.

Referenced by operator Move().

osl::record::opening::OMove::operator int ( )
inline

Definition at line 68 of file openingBook.h.

References value.

osl::record::opening::OMove::operator Move ( )
inline

Definition at line 65 of file openingBook.h.

References getCapturePtype(), getFrom(), getPlayer(), getPtype(), getTo(), and isPromotion().

Member Data Documentation

int osl::record::opening::OMove::value
private

The documentation for this class was generated from the following file: