| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

# RootStatCnv.h

Go to the documentation of this file.

    00001 // $Id: RootStatCnv.h,v 1.3 2010-09-02 11:59:57 frankb Exp $
    00002 //------------------------------------------------------------------------------
    00003 // Definition of class :  RootStatCnv
    00004 //
    00005 //  Author     : M.Frank
    00006 //
    00007 //------------------------------------------------------------------------------
    00008 #ifndef ROOT_ROOTSTATCNV_H
    00009 #define ROOT_ROOTSTATCNV_H 1
    00010
    00011 // Include files
    00012 #include "GaudiKernel/MsgStream.h"
    00013 #include "RootCnv/RootConverter.h"
    00014
    00015 // Forward declarations
    00016 class IDataManagerSvc;
    00017
    00018 /*
    00019  *  Gaudi namespace declaration
    00020  */
    00021 namespace Gaudi {
    00022
    00031   class GAUDI_API RootStatCnv: public RootConverter   {
    00032   protected:
    00034     IDataManagerSvc* m_dataMgr;
    00036     MsgStream*       m_log;
    00037
    00039     MsgStream& log() const { return *m_log; }
    00040
    00041   protected:
    00042
    00044     virtual StatusCode initialize();
    00045
    00047     virtual StatusCode finalize();
    00048
    00054     virtual const std::string containerName(IRegistry* pDir)  const;
    00055
    00061     virtual const std::string fileName(IRegistry* pReg) const;
    00062
    00068     virtual const std::string topLevel(IRegistry* pReg) const;
    00069
    00076     StatusCode makeError(const std::string& msg, bool throw_exception=false)  const;
    00077
    00088     StatusCode saveDescription( const std::string&  path,
    00089                                 const std::string&  ident,
    00090                                 const std::string&  desc,
    00091                                 const std::string&  opt,
    00092                                 const CLID&         clid);
    00093
    00094   public:
    00095
    00103     RootStatCnv(long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr);
    00104
    00106     virtual ~RootStatCnv()   {  }
    00107   };
    00108 }
    00109 #endif // ROOT_RootStatCnv_H

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines