pieceValues.h
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   } // namespace state
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   } // namespace container
00029   using container::PieceValues;
00030 } // namespace osl
00031 #endif // _PIECE_VALUES_H
00032 // ;;; Local Variables:
00033 // ;;; mode:c++
00034 // ;;; c-basic-offset:2
00035 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines