00001 /* 00002 * DefaultStream.cxx 00003 * Test 00004 * 00005 * Created by Matthias Wiesmann on 21.01.05. 00006 * Copyright 2005 CERN. All rights reserved. 00007 * 00008 */ 00009 00010 #include <ostream> 00011 #include <sstream> 00012 00013 #include "ers/Stream.h" 00014 00015 namespace ers { 00016 00028 class DefaultStream : public Stream { 00029 protected: 00030 bool m_verbose ; 00031 public: 00032 static const char * const KEY ; 00033 static const char * const VERBOSE_KEY ; 00034 DefaultStream(bool verbose=false) ; 00035 ~DefaultStream() ; 00036 void send(const Issue *ptr); 00037 } ; // DefaultStream 00038 00039 } // namespace ers 00040