The Gaudi Framework  v33r0 (d5ea422b)
PythonConfig.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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 #ifndef GAUDISVC_PYTHONCONFIG_H
12 #define GAUDISVC_PYTHONCONFIG_H
14 #include "GaudiKernel/IProperty.h"
15 #include "GaudiKernel/Property.h"
16 #include "GaudiKernel/SmartIF.h"
17 #include <string>
18 
19 // Class to translate between Python and C++ worlds
20 // It will be exposed to Python via Boost (see .cpp file)
22 public:
24  void addPropertyToJobOptions( const std::string& client, const std::string& name, const std::string& value ) {
26  }
27 
28 private:
30 };
31 
32 // Helper class to be invoked by JobOptionsSvc
33 class PythonConfig {
34 public:
36  StatusCode evaluateConfig( const std::string& filename, const std::string& preAction, const std::string& postAction );
37 
38 private:
40 };
41 
42 #endif
PythonConfig(IJobOptionsSvc *jos)
Definition: PythonConfig.h:35
PythonAdaptor(IJobOptionsSvc *jos)
Definition: PythonConfig.h:23
Implementation of property with value of concrete type.
Definition: Property.h:370
StatusCode evaluateConfig(const std::string &filename, const std::string &preAction, const std::string &postAction)
void addPropertyToJobOptions(const std::string &client, const std::string &name, const std::string &value)
Definition: PythonConfig.h:24
STL class.
virtual StatusCode addPropertyToCatalogue(const std::string &client, const Gaudi::Details::PropertyBase &property)=0
Add a property into the JobOptions catalog.
Main interface for the JobOptions service.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:61
SmartIF< IJobOptionsSvc > m_IJobOptionsSvc
Definition: PythonConfig.h:29
SmartIF< IJobOptionsSvc > m_IJobOptionsSvc
Definition: PythonConfig.h:39