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

Method load

src/openms/source/FORMAT/MzDataFile.cpp:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 void MzDataFile::load(const String & filename, PeakMap & map)
58 {
59 map.reset();
60
61 //set DocumentIdentifier
62 map.setLoadedFileType(filename);
63 map.setLoadedFilePath(filename);
64
65 Internal::MzDataHandler handler(map, filename, schema_version_, *this);
66 handler.setOptions(options_);
67 parse_(filename, &handler);
68 }
69
70 void MzDataFile::store(const String & filename, const PeakMap & map) const
71 {

Callers 1

isSemanticallyValidMethod · 0.45

Calls 4

setLoadedFileTypeMethod · 0.80
setLoadedFilePathMethod · 0.80
resetMethod · 0.45
setOptionsMethod · 0.45

Tested by

no test coverage detected