The Gaudi Framework  master (594c33fa)
PythonAdaptor Class Reference

#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/JobOptionsSvc/PythonConfig.h>

Collaboration diagram for PythonAdaptor:

Public Member Functions

 PythonAdaptor (Gaudi::Interfaces::IOptionsSvc *optsSvc)
 
void addPropertyToJobOptions (const std::string &client, const std::string &name, const std::string &value)
 

Private Attributes

Gaudi::Interfaces::IOptionsSvcm_optsSvc
 

Detailed Description

Definition at line 21 of file PythonConfig.h.

Constructor & Destructor Documentation

◆ PythonAdaptor()

PythonAdaptor::PythonAdaptor ( Gaudi::Interfaces::IOptionsSvc optsSvc)
inline

Definition at line 23 of file PythonConfig.h.

23 : m_optsSvc( optsSvc ) {}

Member Function Documentation

◆ addPropertyToJobOptions()

void PythonAdaptor::addPropertyToJobOptions ( const std::string client,
const std::string name,
const std::string value 
)
inline

Definition at line 24 of file PythonConfig.h.

24  {
25  m_optsSvc->set( client + '.' + name, value );
26  }

Member Data Documentation

◆ m_optsSvc

Gaudi::Interfaces::IOptionsSvc* PythonAdaptor::m_optsSvc
private

Definition at line 29 of file PythonConfig.h.


The documentation for this class was generated from the following file:
Gaudi::Interfaces::IOptionsSvc::set
virtual void set(const std::string &key, const std::string &value)=0
Set the value of an option, overriding the old value, if any.
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77
PythonAdaptor::m_optsSvc
Gaudi::Interfaces::IOptionsSvc * m_optsSvc
Definition: PythonConfig.h:29