00001
00002
00003 #include "osl/record/kisen.h"
00004
00005 #include <iostream>
00006 using namespace osl;
00007
00008 int main(int argc, char **argv)
00009 {
00010 for (int i=1; i<argc; ++i) {
00011 KisenIpxFile ipx(argv[i]);
00012 for (size_t j=0; j<ipx.size(); ++j) {
00013 std::cout << ipx.getPlayer(j, BLACK) << " "
00014 << ipx.getTitle(j, BLACK) << " "
00015 << ipx.getRating(j, BLACK) << " ";
00016 std::cout << ipx.getPlayer(j, WHITE) << " "
00017 << ipx.getTitle(j, WHITE) << " "
00018 << ipx.getRating(j, WHITE) << "\n";
00019 }
00020 }
00021
00022 return 0;
00023 }
00024
00025
00026
00027
00028
00029