00001
00002
00003
00004 #include "osl/effect/liberty8.h"
00005 #include "osl/state/simpleState.h"
00006 #include <iomanip>
00007 namespace osl
00008 {
00009 namespace effect
00010 {
00011 template<Player P>
00012 std::ostream& operator<<(std::ostream& os,Liberty8<P> const& liberty){
00013 return os << "0x" << std::setbase(16) << liberty.getMask().uintValue()
00014 << std::setbase(10);
00015 }
00016 template std::ostream& operator<<(std::ostream& os,Liberty8<BLACK> const& liberty);
00017 template std::ostream& operator<<(std::ostream& os,Liberty8<WHITE> const& liberty);
00018
00019 template class Liberty8<BLACK>;
00020 template class Liberty8<WHITE>;
00021 template Liberty8<BLACK>::Liberty8(SimpleState const&,Position);
00022 template Liberty8<WHITE>::Liberty8(SimpleState const&,Position);
00023
00024 }
00025 }
00026
00027
00028
00029