| 89 | } |
| 90 | |
| 91 | void MzXMLFile::transformFirstPass_(const String& filename_in, Interfaces::IMSDataConsumer * consumer, bool skip_full_count) |
| 92 | { |
| 93 | // Create temporary objects and counters |
| 94 | PeakFileOptions tmp_options(options_); |
| 95 | Size scount = 0, ccount = 0; |
| 96 | MapType experimental_settings; |
| 97 | Internal::MzXMLHandler handler(experimental_settings, filename_in, getVersion(), *this); |
| 98 | |
| 99 | // set temporary options for handler |
| 100 | tmp_options.setMetadataOnly( skip_full_count ); |
| 101 | handler.setOptions(tmp_options); |
| 102 | handler.setLoadDetail(Internal::XMLHandler::LD_RAWCOUNTS); |
| 103 | parse_(filename_in, &handler); |
| 104 | |
| 105 | // After parsing, collect information |
| 106 | scount = handler.getScanCount(); |
| 107 | consumer->setExpectedSize(scount, ccount); |
| 108 | consumer->setExperimentalSettings(experimental_settings); |
| 109 | } |
| 110 | |
| 111 | } // namespace OpenMS |
| 112 |
nothing calls this directly
no test coverage detected