The Gaudi Framework  v30r4 (9b837755)
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_
10 
12 #include "GaudiKernel/Service.h"
13 
14 namespace Gaudi
15 {
16  class MetaDataSvc : public extends<Service, IMetaDataSvc>
17  {
18  public:
19  using extends::extends;
20 
21  StatusCode start() override;
22 
23  bool isEnabled() const { return m_isEnabled; }
24 
26 
28 
29  private:
30  Gaudi::Property<bool> m_isEnabled{this, "Enabled", true};
31 
33  };
34 }
35 
36 #endif /* GAUDISVC_SRC_METADATASVC_METADATASVC_H_ */
bool isEnabled() const
Definition: MetaDataSvc.h:23
Implementation of property with value of concrete type.
Definition: Property.h:383
Gaudi::Property< bool > m_isEnabled
Definition: MetaDataSvc.h:30
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
StatusCode start() override
Definition: MetaDataSvc.cpp:53
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:59
StatusCode collectData()
Definition: MetaDataSvc.cpp:61
std::map< std::string, std::string > m_metadata
Definition: MetaDataSvc.h:32