Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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  class MetaDataSvc : public extends<Service, IMetaDataSvc> {
16  public:
17  using extends::extends;
18 
19  StatusCode start() override;
20 
21  bool isEnabled() const { return m_isEnabled; }
22 
24 
26 
27  private:
28  Gaudi::Property<bool> m_isEnabled{this, "Enabled", true};
29 
31  };
32 } // namespace Gaudi
33 
34 #endif /* GAUDISVC_SRC_METADATASVC_METADATASVC_H_ */
bool isEnabled() const
Definition: MetaDataSvc.h:21
Implementation of property with value of concrete type.
Definition: Property.h:352
Gaudi::Property< bool > m_isEnabled
Definition: MetaDataSvc.h:28
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
StatusCode start() override
Definition: MetaDataSvc.cpp:49
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:54
StatusCode collectData()
Definition: MetaDataSvc.cpp:56
std::map< std::string, std::string > m_metadata
Definition: MetaDataSvc.h:30