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

#include <openingBook.h>

Collaboration diagram for osl::record::opening::WMove:
Collaboration graph
[legend]

Public Member Functions

 WMove ()
 
 WMove (Move m, int i, int w)
 
Move getMove () const
 
int getStateIndex () const
 
int getWeight () const
 
void setWeight (const int w)
 

Private Attributes

Move move
 
int stateIndex
 
int weight
 

Friends

std::ostream & operator<< (std::ostream &os, const WMove &w)
 
std::istream & operator>> (std::istream &is, WMove &w)
 

Detailed Description

Definition at line 116 of file openingBook.h.

Constructor & Destructor Documentation

osl::record::opening::WMove::WMove ( )
inline

Definition at line 122 of file openingBook.h.

osl::record::opening::WMove::WMove ( Move  m,
int  i,
int  w 
)
inline

Definition at line 123 of file openingBook.h.

Member Function Documentation

Move osl::record::opening::WMove::getMove ( ) const
inline
int osl::record::opening::WMove::getStateIndex ( ) const
inline
int osl::record::opening::WMove::getWeight ( ) const
inline
void osl::record::opening::WMove::setWeight ( const int  w)
inline

Definition at line 128 of file openingBook.h.

References weight.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const WMove w 
)
friend
std::istream& operator>> ( std::istream &  is,
WMove w 
)
friend

Member Data Documentation

Move osl::record::opening::WMove::move
private

Definition at line 118 of file openingBook.h.

Referenced by getMove(), and osl::record::opening::operator>>().

int osl::record::opening::WMove::stateIndex
private

Definition at line 119 of file openingBook.h.

Referenced by getStateIndex(), and osl::record::opening::operator>>().

int osl::record::opening::WMove::weight
private

Definition at line 120 of file openingBook.h.

Referenced by getWeight(), osl::record::opening::operator>>(), and setWeight().


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