The Gaudi Framework  v33r1 (b1225454)
PythonAdaptor Class Reference

#include <src/JobOptionsSvc/PythonConfig.h>

Collaboration diagram for PythonAdaptor:

Public Member Functions

 PythonAdaptor (IJobOptionsSvc *jos)
 
void addPropertyToJobOptions (const std::string &client, const std::string &name, const std::string &value)
 

Private Attributes

SmartIF< IJobOptionsSvcm_IJobOptionsSvc
 

Detailed Description

Definition at line 22 of file PythonConfig.h.

Constructor & Destructor Documentation

◆ PythonAdaptor()

PythonAdaptor::PythonAdaptor ( IJobOptionsSvc jos)
inline

Definition at line 24 of file PythonConfig.h.

24 : m_IJobOptionsSvc( jos ) {}
SmartIF< IJobOptionsSvc > m_IJobOptionsSvc
Definition: PythonConfig.h:32

Member Function Documentation

◆ addPropertyToJobOptions()

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

Definition at line 25 of file PythonConfig.h.

25  {
26  if ( auto sc = m_IJobOptionsSvc->addPropertyToCatalogue( client, Gaudi::Property<std::string>( name, value ) );
27  !sc )
28  throw GaudiException( "Failed to add property", "PythonAdaptor", sc );
29  }
Define general base for Gaudi exception.
Implementation of property with value of concrete type.
Definition: Property.h:370
virtual StatusCode addPropertyToCatalogue(const std::string &client, const Gaudi::Details::PropertyBase &property)=0
Add a property into the JobOptions catalog.
SmartIF< IJobOptionsSvc > m_IJobOptionsSvc
Definition: PythonConfig.h:32

Member Data Documentation

◆ m_IJobOptionsSvc

SmartIF<IJobOptionsSvc> PythonAdaptor::m_IJobOptionsSvc
private

Definition at line 32 of file PythonConfig.h.


The documentation for this class was generated from the following file: