#include "util.h" boolean save_judge(tag_t top,string &check,string &name,vector &type_vec) { int line_cnt; tag_t *lines; BOM_line_ask_child_lines(top, &line_cnt, &lines); char *val; for (int i = 0; i type_vec(type_val,type_val+type_cnt); check = check_val; BOM_ask_window_top_line(win, &top); if (!save_judge(top, check, name,type_vec)) { ifail = 1; name += "对象为冻结状态或未发布,不能保存BOM!"; EMH_store_error_s1(EMH_severity_user_error, EMH_PROP_error_base, name.c_str()); } printf("bs_bom_save_check end11\n"); return ifail; }