| 130 | } |
| 131 | |
| 132 | void MzMLFile::load(const String& filename, PeakMap& map) |
| 133 | { |
| 134 | map.reset(); |
| 135 | |
| 136 | //set DocumentIdentifier |
| 137 | map.setLoadedFileType(filename); |
| 138 | map.setLoadedFilePath(filename); |
| 139 | |
| 140 | Internal::MzMLHandler handler(map, filename, getVersion(), *this); |
| 141 | handler.setOptions(options_); |
| 142 | safeParse_(filename, &handler); |
| 143 | } |
| 144 | |
| 145 | void MzMLFile::store(const String& filename, const PeakMap& map) const |
| 146 | { |
no test coverage detected