searchInfo.h
Go to the documentation of this file.
/* searchInfo.h
*/
#ifndef OSL_RECORD_SEARCHINFO_H
#define OSL_RECORD_SEARCHINFO_H
#include "osl/basic_type.h"
#include <vector>
#include <string>
namespace osl
{
namespace record
{
struct SearchInfo
{
int value;
std::vector<Move> moves;
SearchInfo() : value(0)
{
}
bool isValid() const {return !moves.empty();}
};
}
} // namespace osl
#endif /* OSL_RECORD_SEARCHINFO_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
basic_type.h
osl::record
棋譜関係
Definition checkDuplicate.h:15
osl
Definition additionalEffect.h:6
osl::record::SearchInfo::moves
std::vector< Move > moves
Definition searchInfo.h:17
osl::record::SearchInfo::SearchInfo
SearchInfo()
Definition searchInfo.h:18
osl::record::SearchInfo::isValid
bool isValid() const
Definition searchInfo.h:22
osl::record::SearchInfo::value
int value
Definition searchInfo.h:16