Gaudi Framework, version v23r7

Home   Generated: Wed Mar 20 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RecordStream.cpp
Go to the documentation of this file.
1 // $Id: RecordStream.cpp,v 1.1 2008/12/10 18:37:36 marcocle Exp $
2 #define GAUDISVC_PERSISTENCYSVC_OUTPUTFSRSTREAM_CPP
3 
4 // Framework include files
11 #include "GaudiKernel/DataObject.h"
12 #include "GaudiKernel/MsgStream.h"
13 #include "RecordStream.h"
14 
15 // Define the algorithm factory for the standard output data writer
17 
18 // Standard Constructor
19 RecordStream::RecordStream(const std::string& name, ISvcLocator* pSvcLocator)
20  : OutputStream(name, pSvcLocator)
21 {
24  m_fireIncidents = false;
25  declareProperty("FireIncidents", m_fireIncidents=false);
26 }
27 
29  MsgStream log(msgSvc(), name());
30  log << MSG::INFO << "Set up File Summary Record" << endmsg;
31  if( !m_fireIncidents && log.level() <= MSG::VERBOSE )
32  log << MSG::VERBOSE << "will not fire incidents" << endmsg;
34  if( !sc.isSuccess() ) {
35  log << MSG::WARNING << "Error writing run summary record....." << endmsg;
36  }
37  return OutputStream::finalize();
38 }

Generated at Wed Mar 20 2013 17:59:37 for Gaudi Framework, version v23r7 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004