All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pieceValues.h
Go to the documentation of this file.
1 #ifndef _PIECE_VALUES_H
2 #define _PIECE_VALUES_H
3 #include "osl/piece.h"
4 #include "osl/misc/carray.h"
5 #include <iosfwd>
6 
7 namespace osl
8 {
9  namespace state
10  {
11  class SimpleState;
12  } // namespace state
13 
14  namespace container
15  {
19  class PieceValues : public CArray<int,Piece::SIZE>
20  {
21  public:
22  PieceValues();
23  ~PieceValues();
24 
25  int sum() const;
26  void showValues(std::ostream&, const state::SimpleState&) const;
27  };
28  } // namespace container
30 } // namespace osl
31 #endif // _PIECE_VALUES_H
32 // ;;; Local Variables:
33 // ;;; mode:c++
34 // ;;; c-basic-offset:2
35 // ;;; End: