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

Method hasStream

src/openms/source/CONCEPT/StreamHandler.cpp:111–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 bool StreamHandler::hasStream(const StreamType type, const String & stream_name)
112 {
113 if (name_to_stream_map_.count(stream_name) != 0)
114 {
115 return name_to_type_map_[stream_name] == type;
116 }
117 else
118 {
119 return false;
120 }
121 }
122
123 void StreamHandler::unregisterStream(StreamType const type, const String & stream_name)
124 {

Callers 2

configureMethod · 0.80

Calls 1

countMethod · 0.80

Tested by

no test coverage detected