The Gaudi Framework  v30r3 (a5ef0a68)
MetaDataSvc.h
Go to the documentation of this file.
1 /*
2  * MetaDataSvc.h
3  *
4  * Created on: Mar 24, 2015
5  * Author: Ana Trisovic
6  */
7 
8 #ifndef GAUDISVC_SRC_METADATASVC_METADATASVC_H_
9 #define GAUDISVC_SRC_METADATASVC_METADATASVC_H_
11 #include "GaudiKernel/Service.h"
12 
13 namespace Gaudi
14 {
15  class MetaDataSvc : public extends<Service, IMetaDataSvc>
16  {
17  public:
18  using extends::extends;
19 
20  StatusCode start() override;
21 
22  bool isEnabled() const { return m_isEnabled; }
23 
25 
27 
28  private:
29  Gaudi::Property<bool> m_isEnabled{this, "Enabled", true};
30 
32  };
33 }
34 
35 #endif /* GAUDISVC_SRC_METADATASVC_METADATASVC_H_ */
bool isEnabled() const
Definition: MetaDataSvc.h:22
Implementation of property with value of concrete type.
Definition: Property.h:381
Gaudi::Property< bool > m_isEnabled
Definition: MetaDataSvc.h:29
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
StatusCode start() override
Definition: MetaDataSvc.cpp:52
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
Helper functions to set/get the application return code.
Definition: __init__.py:1
std::map< std::string, std::string > getMetaDataMap() const override
Definition: MetaDataSvc.cpp:58
StatusCode collectData()
Definition: MetaDataSvc.cpp:60
std::map< std::string, std::string > m_metadata
Definition: MetaDataSvc.h:31