| 91 | } |
| 92 | |
| 93 | std::string structure_dump(structure *s, const std::string &filename_prefix, |
| 94 | const std::string &output_name) { |
| 95 | std::string filename = filename_prefix + "-structure-" + output_name; |
| 96 | s->dump(filename.c_str()); |
| 97 | master_printf("Dumping structure: %s\n", filename.c_str()); |
| 98 | return filename; |
| 99 | } |
| 100 | |
| 101 | void structure_load(structure *s, const std::string &filename) { |
| 102 | master_printf("Loading structure: %s\n", filename.c_str()); |