allMoves.cc Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
allMoves.cc
Go to the documentation of this file.
1 #include "osl/move_generator/allMoves.h"
2 #include "osl/move_generator/allMoves.tcc"
3
4 namespace osl
5 {
6 namespace move_generator
7 {
8 template void AllMoves<move_action::Store>::generate<BLACK>(NumEffectState const&,move_action::Store&);
9 template void AllMoves<move_action::Store>::generate<WHITE>(NumEffectState const&,move_action::Store&);
10 template void AllMoves<move_action::Store>::generate(Player,NumEffectState const&,move_action::Store&);
11 }
12 } // namespace osl
13
14 void osl::GenerateAllMoves::
15 generate(Player p, const NumEffectState& state, container::MoveVector& out)
16 {
17 typedef move_action::Store store_t;
18 store_t store(out);
19 move_generator::AllMoves<store_t>::generate(p, state, store);
20 }
21
22 // ;;; Local Variables:
23 // ;;; mode:c++
24 // ;;; c-basic-offset:2
25 // ;;; End: