101 Int registerStream(StreamType
const type,
const String & stream_name);
113 void unregisterStream(StreamType
const type,
const String & stream_name);
127 ostream & getStream(StreamType
const type,
const String & stream_name);
139 bool hasStream(
const StreamType type,
const String & stream_name);
Provides a central class to register globally used output streams. Currently supported streams are...
Definition: StreamHandler.h:71
A more convenient string class.
Definition: String.h:57
map< String, Size > name_to_counter_map_
Maps all registered stream names to the number of times it was registered. If the counter goes to zer...
Definition: StreamHandler.h:145
map< String, StreamType > name_to_type_map_
Maps all registered stream names to the corresponding StreamHandler::StreamType.
Definition: StreamHandler.h:144
Definition: StreamHandler.h:79
map< String, ostream * > name_to_stream_map_
Maps all registered stream names to the corresponding std::ostream.
Definition: StreamHandler.h:143
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
StreamType
Defines the type of the stream that should be handled.
Definition: StreamHandler.h:77
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
StreamHandler STREAM_HANDLER
Global StreamHandler instance.
int Int
Signed integer type.
Definition: Types.h:102