All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ntesukiMoveList.h
Go to the documentation of this file.
1 /* ntesukiMoveList.h
2  */
3 #ifndef _NTESUKI_MOVELIST_H
4 #define _NTESUKI_MOVELIST_H
5 
12 #include "osl/stl/slist.h"
13 #include <cassert>
14 #include <algorithm>
15 #include <iterator>
16 #include <iosfwd>
17 
18 namespace osl
19 {
20  namespace ntesuki
21  {
22  // TODO: 自作すべき
23  typedef slist<NtesukiMove> NtesukiMoveListBase;
28  {
29  public:
31  NtesukiMoveList(const NumEffectState& state,
32  const osl::MoveVector& mv);
33 
43  NtesukiMove* add(const NtesukiMove& move);
44  const NtesukiMove& find(const NtesukiMove& move) const;
45  };
46  std::ostream& operator<<(std::ostream&, const NtesukiMoveList&);
47  } // namespace ntesukimate
48 } // namespace osl
49 
50 #endif /* _NTESUKI_MOVELIST_H */
51 // ;;; Local Variables:
52 // ;;; mode:c++
53 // ;;; c-basic-offset:2
54 // ;;; End: