Go to the documentation of this file.00001 #ifndef _PIECE_VALUES_H
00002 #define _PIECE_VALUES_H
00003 #include "osl/piece.h"
00004 #include "osl/misc/carray.h"
00005 #include <iosfwd>
00006
00007 namespace osl
00008 {
00009 namespace state
00010 {
00011 class SimpleState;
00012 }
00013
00014 namespace container
00015 {
00019 class PieceValues : public CArray<int,Piece::SIZE>
00020 {
00021 public:
00022 PieceValues();
00023 ~PieceValues();
00024
00025 int sum() const;
00026 void showValues(std::ostream&, const state::SimpleState&) const;
00027 };
00028 }
00029 using container::PieceValues;
00030 }
00031 #endif // _PIECE_VALUES_H
00032
00033
00034
00035