osl::container::PieceValues Class Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
osl::container::PieceValues Class Reference

駒番号->intの配列. More...

`#include <pieceValues.h>`

Inheritance diagram for osl::container::PieceValues:
[legend]
Collaboration diagram for osl::container::PieceValues:
[legend]

## Public Member Functions
| PieceValues ()
| ~PieceValues ()
int | sum () const
void | showValues (std::ostream &, const state::SimpleState &) const

## Detailed Description

駒番号->intの配列.

局面に対する駒の価値など

Definition at line 19 of file pieceValues.h.

## Constructor & Destructor Documentation

osl::container::PieceValues::PieceValues | ( | ) |  |

Definition at line 9 of file pieceValues.cc.

osl::container::PieceValues::~PieceValues | ( | ) |  |

Definition at line 14 of file pieceValues.cc.

## Member Function Documentation

void osl::container::PieceValues::showValues | ( | std::ostream & | ,
|  | const state::SimpleState & |
| ) |  | const

Definition at line 31 of file pieceValues.cc.

References osl::BLACK, osl::Piece::isEmpty(), osl::Square::isPieceStand(), osl::Piece::number(), osl::Piece::owner(), osl::Piece::ptype(), osl::Piece::square(), and osl::WHITE.

int osl::container::PieceValues::sum | ( | ) |  | const

Definition at line 19 of file pieceValues.cc.

References result.

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

- pieceValues.h
- pieceValues.cc