MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / transform

Method transform

src/openms/source/FORMAT/MzXMLFile.cpp:59–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 void MzXMLFile::transform(const String& filename_in, Interfaces::IMSDataConsumer * consumer, bool skip_full_count)
60 {
61 // First pass through the file -> get the meta-data and hand it to the consumer
62 transformFirstPass_(filename_in, consumer, skip_full_count);
63
64 // Second pass through the data, now read the spectra!
65 {
66 MapType dummy;
67 Internal::MzXMLHandler handler(dummy, filename_in, getVersion(), *this);
68 handler.setOptions(options_);
69 handler.setMSDataConsumer(consumer);
70 parse_(filename_in, &handler);
71 }
72 }
73
74 void MzXMLFile::transform(const String& filename_in, Interfaces::IMSDataConsumer * consumer, MapType& map, bool skip_full_count)
75 {

Callers 1

test0Function · 0.95

Calls 3

setMSDataConsumerMethod · 0.80
setAlwaysAppendDataMethod · 0.80
setOptionsMethod · 0.45

Tested by 1

test0Function · 0.76