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

Method loadSize

src/openms/source/FORMAT/FeatureXMLFile.cpp:32–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 FeatureXMLFile::~FeatureXMLFile() = default;
31
32 Size FeatureXMLFile::loadSize(const String& filename)
33 {
34 FeatureMap dummy;
35 Internal::FeatureXMLHandler handler(dummy, filename);
36 handler.setOptions(options_);
37 handler.setSizeOnly(true);
38 handler.setLogType(getLogType());
39 parse_(filename, &handler);
40
41 return handler.getSize();
42 }
43
44 void FeatureXMLFile::load(const String& filename, FeatureMap& feature_map)
45 {

Callers

nothing calls this directly

Calls 4

setSizeOnlyMethod · 0.80
setLogTypeMethod · 0.80
setOptionsMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected