| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RootStatCnv.h
Go to the documentation of this file.
1 // $Id: RootStatCnv.h,v 1.3 2010-09-02 11:59:57 frankb Exp $
2 //------------------------------------------------------------------------------
3 // Definition of class : RootStatCnv
4 //
5 // Author : M.Frank
6 //
7 //------------------------------------------------------------------------------
8 #ifndef ROOT_ROOTSTATCNV_H
9 #define ROOT_ROOTSTATCNV_H 1
10
11 // Include files
12 #include "GaudiKernel/MsgStream.h"
13 #include "RootCnv/RootConverter.h"
14
15 // Forward declarations
16 class IDataManagerSvc;
17
18 /*
19 * Gaudi namespace declaration
20 */
21 namespace Gaudi {
22
31 class GAUDI_API RootStatCnv: public RootConverter {
32 protected:
34 IDataManagerSvc* m_dataMgr;
36 MsgStream* m_log;
37
39 MsgStream& log() const { return *m_log; }
40
41 protected:
42
44 virtual StatusCode initialize();
45
47 virtual StatusCode finalize();
48
54 virtual const std::string containerName(IRegistry* pDir) const;
55
61 virtual const std::string fileName(IRegistry* pReg) const;
62
68 virtual const std::string topLevel(IRegistry* pReg) const;
69
76 StatusCode makeError(const std::string& msg, bool throw_exception=false) const;
77
88 StatusCode saveDescription( const std::string& path,
89 const std::string& ident,
90 const std::string& desc,
91 const std::string& opt,
92 const CLID& clid);
93
94 public:
95
103 RootStatCnv(long typ, const CLID& clid, ISvcLocator* svc, RootCnvSvc* mgr);
104
106 virtual ~RootStatCnv() { }
107 };
108 }
109 #endif // ROOT_RootStatCnv_H