| 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 | { |
no test coverage detected