All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes | Friends
osl::record::opening::WMove Class Reference

#include <openingBook.h>

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

List of all members.

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

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

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

Definition at line 118 of file openingBook.h.

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

Definition at line 119 of file openingBook.h.

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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines