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

Method setOptions

src/openms/source/FORMAT/HANDLERS/MzMLHandler.cpp:63–68  ·  view source on GitHub ↗

Set the peak file options

Source from the content-addressed store, hash-verified

61
62 /// Set the peak file options
63 void MzMLHandler::setOptions(const PeakFileOptions& opt)
64 {
65 options_ = opt;
66 spectrum_data_.reserve(options_.getMaxDataPoolSize());
67 chromatogram_data_.reserve(options_.getMaxDataPoolSize());
68 }
69
70 /// Get the peak file options
71 PeakFileOptions& MzMLHandler::getOptions()

Callers

nothing calls this directly

Calls 2

getMaxDataPoolSizeMethod · 0.80
reserveMethod · 0.45

Tested by

no test coverage detected