#include "osl/container/moveVector.h"#include "osl/hash/hashKey.h"#include "osl/state/numEffectState.h"#include "osl/record/ki2.h"#include "osl/record/kisen.h"#include "osl/record/kakinoki.h"#include "osl/record/csaRecord.h"#include "osl/record/checkDuplicate.h"#include <boost/algorithm/string/predicate.hpp>#include <boost/algorithm/string/trim.hpp>#include <boost/scoped_ptr.hpp>#include <boost/program_options.hpp>#include <boost/filesystem/convenience.hpp>#include <boost/foreach.hpp>#include <boost/format.hpp>#include <deque>#include <exception>#include <iostream>#include <fstream>#include <tr1/unordered_map>
Go to the source code of this file.
Functions | |
| bool | accept_tournament (const std::string &name) |
| static void | convert (const std::string &kisen_filename, const std::vector< std::string > &files, bool output_ipx, osl::record::CheckDuplicate &check_duplicates, int default_rating) |
| int | main (int argc, char **argv) |
Variables | |
| std::vector< std::string > | good_tournaments |
| bool accept_tournament | ( | const std::string & | name | ) |
Definition at line 24 of file csa-to-kisen.cc.
References osl::find(), and good_tournaments.
Referenced by convert().
| static void convert | ( | const std::string & | kisen_filename, |
| const std::vector< std::string > & | files, | ||
| bool | output_ipx, | ||
| osl::record::CheckDuplicate & | check_duplicates, | ||
| int | default_rating | ||
| ) | [static] |
Definition at line 34 of file csa-to-kisen.cc.
References accept_tournament(), osl::record::Record::getMoves(), osl::record::csa::CsaFile::getRecord(), moves, osl::record::CheckDuplicate::regist(), and osl::record::Record::tounamentName().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 103 of file csa-to-kisen.cc.
References check_duplicate, osl::eval::convert(), files, good_tournaments, kisen_filename, osl::record::CheckDuplicate::print(), run(), store(), and vm.
| std::vector<std::string> good_tournaments |
Definition at line 23 of file csa-to-kisen.cc.
Referenced by accept_tournament(), and main().
1.7.4