The Gaudi Framework  master (37c0b60a)
MetaDataSvc.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 /*
12  * MetaDataSvc.h
13  *
14  * Created on: Mar 24, 2015
15  * Author: Ana Trisovic
16  */
17 
18 #ifndef GAUDISVC_SRC_METADATASVC_METADATASVC_H_
19 #define GAUDISVC_SRC_METADATASVC_METADATASVC_H_
20 
22 #include <GaudiKernel/Service.h>
23 
24 namespace Gaudi {
25  class MetaDataSvc : public extends<Service, IMetaDataSvc> {
26  public:
27  using extends::extends;
28 
29  StatusCode start() override;
30 
31  bool isEnabled() const { return m_isEnabled; }
32 
34 
36 
37  private:
38  Gaudi::Property<bool> m_isEnabled{ this, "Enabled", true };
39 
41  };
42 } // namespace Gaudi
43 
44 #endif /* GAUDISVC_SRC_METADATASVC_METADATASVC_H_ */
Gaudi::MetaDataSvc::collectData
StatusCode collectData()
Definition: MetaDataSvc.cpp:40
Gaudi::MetaDataSvc::m_metadata
std::map< std::string, std::string > m_metadata
Definition: MetaDataSvc.h:40
Gaudi::MetaDataSvc
Definition: MetaDataSvc.h:25
StatusCode
Definition: StatusCode.h:65
std::map< std::string, std::string >
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:20
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
Gaudi::MetaDataSvc::isEnabled
bool isEnabled() const
Definition: MetaDataSvc.h:31
Service.h
Gaudi::MetaDataSvc::getMetaDataMap
std::map< std::string, std::string > getMetaDataMap() const override
Definition: MetaDataSvc.cpp:38
Gaudi::MetaDataSvc::start
StatusCode start() override
Definition: MetaDataSvc.cpp:33
Gaudi::MetaDataSvc::m_isEnabled
Gaudi::Property< bool > m_isEnabled
Definition: MetaDataSvc.h:38
IMetaDataSvc.h
Gaudi::Property< bool >