| # 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
StatusCodeSvc.h
Go to the documentation of this file.
1
2 #ifndef GAUDISVC_STATUSCODESVC_H
3 #define GAUDISVC_STATUSCODESVC_H
4
5 #include "GaudiKernel/Service.h"
6 #include "GaudiKernel/IStatusCodeSvc.h"
7
8 #include <string>
9 #include <map>
10 #include <set>
11
12 class StatusCodeSvc: public extends1<Service, IStatusCodeSvc> {
13
14 public:
15
16 virtual StatusCode initialize();
17 virtual StatusCode reinitialize();
18 virtual StatusCode finalize();
19
20 virtual void regFnc(const std::string &func, const std::string &lib);
21 virtual void list() const;
22 virtual bool suppressCheck() const { return m_suppress.value() ; }
23
24 StatusCodeSvc( const std::string& name, ISvcLocator* svc );
25
26 // Destructor.
27 virtual ~StatusCodeSvc();
28
29 private:
30
31 struct StatCodeDat {
32 std::string fnc;
33 std::string lib;
34 int count;
35 };
36
37 void parseFilter(const std::string& str, std::string& fnc, std::string& lib);
38 void filterFnc(const std::string&);
39 void filterLib(const std::string&);
40
41 StringArrayProperty m_pFilter;
42 BooleanProperty m_abort, m_suppress, m_dict;
43
44 std::map<std::string,StatCodeDat> m_dat;
45 std::set<std::string> m_filterfnc, m_filterlib;
46
47 };
48
49 #endif