| 74 | } |
| 75 | |
| 76 | void save(const std::string& path) const { |
| 77 | if (!built_) { |
| 78 | throw std::runtime_error("SymqgIndex must be built before save"); |
| 79 | } |
| 80 | index_->save(path.c_str()); |
| 81 | } |
| 82 | |
| 83 | static SymqgIndex load(const std::string& path) { |
| 84 | SymqgIndex wrapper; |