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 class MetaDataSvc : public extends<Service, IMetaDataSvc> {
15 public:
16  // Standard Constructor.
17  // Input: name String with service name
18  // Input: svc Pointer to service locator interface
19  MetaDataSvc( const std::string& name, ISvcLocator* svc );
20 
21  // Destructor.
22  ~MetaDataSvc();
23 
25  StatusCode start();
26  bool isEnabled() const ;
27 
29 
32 
33 private:
36 };
37 }
38 
39 #endif /* GAUDISVC_SRC_METADATASVC_METADATASVC_H_ */
bool isEnabled() const
Definition: MetaDataSvc.cpp:68
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
StatusCode initialize()
Definition: MetaDataSvc.cpp:63
std::map< std::string, std::string > getMetaDataMap()
Definition: MetaDataSvc.cpp:80
STL class.
const std::string & name() const override
Retrieve name of the service.
Definition: Service.cpp:319
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
MetaData * getMetaData()
Definition: MetaDataSvc.cpp:77
StatusCode start()
Definition: MetaDataSvc.cpp:71
Helper functions to set/get the application return code.
Definition: __init__.py:1
MetaDataSvc(const std::string &name, ISvcLocator *svc)
Definition: MetaDataSvc.cpp:58
StatusCode collectData()
Definition: MetaDataSvc.cpp:83
std::map< std::string, std::string > m_metadata
Definition: MetaDataSvc.h:35