00001 /* searchInfo.h 00002 */ 00003 #ifndef OSL_RECORD_SEARCHINFO_H 00004 #define OSL_RECORD_SEARCHINFO_H 00005 00006 #include "osl/basic_type.h" 00007 #include <vector> 00008 #include <string> 00009 00010 namespace osl 00011 { 00012 namespace record 00013 { 00014 struct SearchInfo 00015 { 00016 int value; 00017 std::vector<Move> moves; 00018 SearchInfo() : value(0) 00019 { 00020 } 00021 00022 bool isValid() const {return !moves.empty();} 00023 }; 00024 } 00025 } // namespace osl 00026 00027 #endif /* OSL_RECORD_SEARCHINFO_H */ 00028 // ;;; Local Variables: 00029 // ;;; mode:c++ 00030 // ;;; c-basic-offset:2 00031 // ;;; End: