|
OpenMS
2.5.0
|
Go to the documentation of this file.
98 Int registerStream(StreamType
const type,
const String & stream_name);
110 void unregisterStream(StreamType
const type,
const String & stream_name);
124 std::ostream & getStream(StreamType
const type,
const String & stream_name);
135 bool hasStream(
const StreamType type,
const String & stream_name);
151 std::ostream * createStream_(
const StreamType type,
const String & stream_name);
A more convenient string class.
Definition: String.h:58
Definition: StreamHandler.h:76
std::map< String, std::ostream * > name_to_stream_map_
Maps all registered stream names to the corresponding std::ostream.
Definition: StreamHandler.h:139
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
StreamType
Defines the type of the stream that should be handled.
Definition: StreamHandler.h:74
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
std::map< String, StreamType > name_to_type_map_
Maps all registered stream names to the corresponding StreamHandler::StreamType.
Definition: StreamHandler.h:140
Provides a central class to register globally used output streams. Currently supported streams are.
Definition: StreamHandler.h:68
std::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:141
StreamHandler STREAM_HANDLER
Global StreamHandler instance.