All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
PythonConfig.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_PYTHONCONFIG_H
2 #define GAUDISVC_PYTHONCONFIG_H
3 #include <string>
4 #include "GaudiKernel/IJobOptionsSvc.h"
5 #include "GaudiKernel/IProperty.h"
6 #include "GaudiKernel/Property.h"
7 #include "GaudiKernel/SmartIF.h"
8 
9 // Class to translate between Python and C++ worlds
10 // It will be exposed to Python via Boost (see .cpp file)
12 public:
14  m_IJobOptionsSvc(jos){}
15  void addPropertyToJobOptions(const std::string &client, const std::string &name, const std::string &value){
17  }
18 private:
20 };
21 
22 // Helper class to be invoked by JobOptionsSvc
23 class PythonConfig {
24 public:
26  m_IJobOptionsSvc(jos){};
27  StatusCode evaluateConfig(const std::string& filename, const std::string& preAction, const std::string& postAction);
28 private:
30 };
31 
32 #endif
PythonConfig(IJobOptionsSvc *jos)
Definition: PythonConfig.h:25
PythonAdaptor(IJobOptionsSvc *jos)
Definition: PythonConfig.h:13
StatusCode evaluateConfig(const std::string &filename, const std::string &preAction, const std::string &postAction)
Definition: PythonConfig.cpp:8
void addPropertyToJobOptions(const std::string &client, const std::string &name, const std::string &value)
Definition: PythonConfig.h:15
SimpleProperty< std::string > StringProperty
Definition: Property.h:718
Main interface for the JobOptions service.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
SmartIF< IJobOptionsSvc > m_IJobOptionsSvc
Definition: PythonConfig.h:19
SmartIF< IJobOptionsSvc > m_IJobOptionsSvc
Definition: PythonConfig.h:29
virtual StatusCode addPropertyToCatalogue(const std::string &client, const Property &property)=0
Add a property into the JobOptions catalog.