| The Gaudi Framework v32r1 (f65d50dc)

Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
JobOptionsSvc Class Reference

`#include <src/JobOptionsSvc/JobOptionsSvc.h>`

Inheritance diagram for JobOptionsSvc:
[legend]
Collaboration diagram for JobOptionsSvc:
[legend]

## Public Types
typedef std::vector< const Gaudi::Details::PropertyBase * > | PropertiesT
Public Types inherited from extends< Service, IJobOptionsSvc >
using | base_class = extends
| Typedef to this class. More...
using | extend_interfaces_base = extend_interfaces< Interfaces... >
| Typedef to the base of this class. More...
Public Types inherited from Service
using | Factory = Gaudi::PluginService::Factory< IService *(const std::string &, ISvcLocator *)>
Public Types inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > >
using | PropertyHolderImpl = PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > >
| Typedef used to refer to this class from derived classes, as in. More...
Public Types inherited from CommonMessaging< implements< IService, IProperty, IStateful > >
using | base_class = CommonMessaging
Public Types inherited from extend_interfaces< Interfaces... >
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type
| take union of the ext_iids of all Interfaces... More...

## Public Member Functions
| JobOptionsSvc (const std::string &name, ISvcLocator *svc)
StatusCode | initialize () override
StatusCode | setMyProperties (const std::string &client, IProperty *me) override
| Override default properties of the calling client. More...
StatusCode | addPropertyToCatalogue (const std::string &client, const Gaudi::Details::PropertyBase &property) override
| Add a property into the JobOptions catalog. More...
StatusCode | removePropertyFromCatalogue (const std::string &client, const std::string &name) override
| Remove a property from the JobOptions catalog. More...
const std::vector< const Gaudi::Details::PropertyBase * > * | getProperties (const std::string &client) const override
| Get the properties associated to a given client. More...
const Gaudi::Details::PropertyBase * | getClientProperty (const std::string &client, const std::string &name) const override
| Get a property for a client. More...
std::vector< std::string > | getClients () const override
| Get the list of clients. More...
StatusCode | readOptions (const std::string &file, const std::string &path="") override
| look for file 'file' into search path 'path' and read it to update existing JobOptionsCatalogue More...
Public Member Functions inherited from extends< Service, IJobOptionsSvc >
void * | i_cast (const InterfaceID &tid) const override
| Implementation of IInterface::i_cast. More...
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override
| Implementation of IInterface::queryInterface. More...
std::vector< std::string > | getInterfaceNames () const override
| Implementation of IInterface::getInterfaceNames. More...
Public Member Functions inherited from Service
const std::string & | name () const override
| Retrieve name of the service. More...
StatusCode | configure () override
StatusCode | initialize () override
StatusCode | start () override
StatusCode | stop () override
StatusCode | finalize () override
StatusCode | terminate () override
Gaudi::StateMachine::State | FSMState () const override
Gaudi::StateMachine::State | targetFSMState () const override
StatusCode | reinitialize () override
StatusCode | restart () override
StatusCode | sysInitialize () override
| Initialize Service. More...
StatusCode | sysStart () override
| Initialize Service. More...
StatusCode | sysStop () override
| Initialize Service. More...
StatusCode | sysFinalize () override
| Finalize Service. More...
StatusCode | sysReinitialize () override
| Re-initialize the Service. More...
StatusCode | sysRestart () override
| Re-initialize the Service. More...
| Service (std::string name, ISvcLocator *svcloc)
| Standard Constructor. More...
SmartIF< ISvcLocator > & | serviceLocator () const override
| Retrieve pointer to service locator. More...
StatusCode | setProperties ()
| Method for setting declared properties to the values specified for the job. More...
template<class T >
StatusCode | service (const std::string &name, const T *&psvc, bool createIf=true) const
| Access a service by name, creating it if it doesn't already exist. More...
template<class T >
StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const
template<typename IFace = IService>
SmartIF< IFace > | service (const std::string &name, bool createIf=true) const
template<class T >
StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const
| Access a service by name and type, creating it if it doesn't already exist. More...
template<class T >
StatusCode | declareTool (ToolHandle< T > &handle, std::string toolTypeAndName, bool createIf=true)
| Declare used tool. More...
SmartIF< IAuditorSvc > & | auditorSvc () const
| The standard auditor service.May not be invoked before sysInitialize() has been invoked. More...
Public Member Functions inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > >
| PropertyHolder ()=default
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Details::PropertyBase &prop)
| Declare a property. More...
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, TYPE &value, const std::string &doc="none")
| Helper to wrap a regular data member and use it as a regular property. More...
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, Gaudi::Property< TYPE, VERIFIER, HANDLERS > &prop, const std::string &doc="none")
| Declare a PropertyBase instance setting name and documentation. More...
Gaudi::Details::PropertyBase * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="")
| Declare a remote property. More...
StatusCode | setProperty (const Gaudi::Details::PropertyBase &p) override
| set the property form another property More...
StatusCode | setProperty (const std::string &s) override
| set the property from the formatted string More...
StatusCode | setProperty (const std::string &n, const std::string &v) override
| set the property from name and the value More...
StatusCode | setProperty (const std::string &name, const TYPE &value)
| set the property form the value More...
StatusCode | getProperty (Gaudi::Details::PropertyBase *p) const override
| get the property More...
const Gaudi::Details::PropertyBase & | getProperty (const std::string &name) const override
| get the property by name More...
StatusCode | getProperty (const std::string &n, std::string &v) const override
| convert the property to the string More...
const std::vector< Gaudi::Details::PropertyBase * > & | getProperties () const override
| get all properties More...
bool | hasProperty (const std::string &name) const override
| Return true if we have a property with the given name. More...
| PropertyHolder (const PropertyHolder &)=delete
PropertyHolder & | operator= (const PropertyHolder &)=delete
Public Member Functions inherited from CommonMessaging< implements< IService, IProperty, IStateful > >
MSG::Level | msgLevel () const
| get the cached level (originally extracted from the embedded MsgStream) More...
bool | msgLevel (MSG::Level lvl) const
| get the output level from the embedded MsgStream More...
MSG::Level | outputLevel () const
| Backward compatibility function for getting the output level. More...
Public Member Functions inherited from CommonMessagingBase
virtual | ~CommonMessagingBase ()=default
| Virtual destructor. More...
const SmartIF< IMessageSvc > & | msgSvc () const
| The standard message service. More...
MsgStream & | msgStream () const
| Return an uninitialized MsgStream. More...
MsgStream & | msgStream (const MSG::Level level) const
| Predefined configurable message stream for the efficient printouts. More...
MsgStream & | always () const
| shortcut for the method msgStream(MSG::ALWAYS) More...
MsgStream & | fatal () const
| shortcut for the method msgStream(MSG::FATAL) More...
MsgStream & | err () const
| shortcut for the method msgStream(MSG::ERROR) More...
MsgStream & | error () const
| shortcut for the method msgStream(MSG::ERROR) More...
MsgStream & | warning () const
| shortcut for the method msgStream(MSG::WARNING) More...
MsgStream & | info () const
| shortcut for the method msgStream(MSG::INFO) More...
MsgStream & | debug () const
| shortcut for the method msgStream(MSG::DEBUG) More...
MsgStream & | verbose () const
| shortcut for the method msgStream(MSG::VERBOSE) More...
MsgStream & | msg () const
| shortcut for the method msgStream(MSG::INFO) More...

## Private Member Functions
void | fillServiceCatalog (const Gaudi::Parsers::Catalog &catalog)
void | dump (const std::string &file, const Gaudi::Parsers::Catalog &catalog) const

## Private Attributes
Gaudi::Property< std::string > | m_source_type {this, "TYPE"}
| dump the content of Properties catalog to the predefined file More...
Gaudi::Property< std::string > | m_source_path {this, "PATH"}
Gaudi::Property< std::string > | m_dir_search_path {this, "SEARCHPATH"}
Gaudi::Property< std::string > | m_dump {this, "DUMPFILE"}
Gaudi::Property< std::string > | m_pythonAction {this, "PYTHONACTION"}
Gaudi::Property< std::string > | m_pythonParams {this, "PYTHONPARAMS"}
SvcCatalog | m_svc_catalog

## Additional Inherited Members
Protected Member Functions inherited from Service
| ~Service () override
| Standard Destructor. More...
int | outputLevel () const
| get the `Service's` output level More...
Protected Member Functions inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > >
Gaudi::Details::PropertyBase * | property (const std::string &name) const
Protected Member Functions inherited from CommonMessaging< implements< IService, IProperty, IStateful > >
MSG::Level | setUpMessaging () const
| Set up local caches. More...
MSG::Level | resetMessaging ()
| Reinitialize internal states. More...
void | updateMsgStreamOutputLevel (int level)
| Update the output level of the cached MsgStream. More...
Protected Attributes inherited from Service
Gaudi::StateMachine::State | m_state = Gaudi::StateMachine::OFFLINE
| Service state. More...
Gaudi::StateMachine::State | m_targetState = Gaudi::StateMachine::OFFLINE
| Service state. More...
Gaudi::Property< int > | m_outputLevel {this, "OutputLevel", MSG::NIL, "output level"}
Gaudi::Property< bool > | m_auditInit {this, "AuditServices", false, " unused"}
Gaudi::Property< bool > | m_auditorInitialize {this, "AuditInitialize", false, "trigger auditor on initialize()"}
Gaudi::Property< bool > | m_auditorStart {this, "AuditStart", false, "trigger auditor on start()"}
Gaudi::Property< bool > | m_auditorStop {this, "AuditStop", false, "trigger auditor on stop()"}
Gaudi::Property< bool > | m_auditorFinalize {this, "AuditFinalize", false, "trigger auditor on finalize()"}
Gaudi::Property< bool > | m_auditorReinitialize {this, "AuditReinitialize", false, "trigger auditor on reinitialize()"}
Gaudi::Property< bool > | m_auditorRestart {this, "AuditRestart", false, "trigger auditor on restart()"}
SmartIF< IAuditorSvc > | m_pAuditorSvc
| Auditor Service. More...

## Detailed Description

Definition at line 21 of file JobOptionsSvc.h.

## Member Typedef Documentation

## ◆ PropertiesT

typedef std::vector<const Gaudi::Details::PropertyBase*> JobOptionsSvc::PropertiesT

Definition at line 23 of file JobOptionsSvc.h.

## Constructor & Destructor Documentation

## ◆ JobOptionsSvc()

JobOptionsSvc::JobOptionsSvc | ( | const std::string & | name,
|  | ISvcLocator * | svc
| ) |  |

Definition at line 24 of file JobOptionsSvc.cpp.

24 : base_class( name, svc ) {
25 if ( System::isEnvSet( "JOBOPTSEARCHPATH" ) ) m_dir_search_path = System::getEnv( "JOBOPTSEARCHPATH" );
26 if ( System::isEnvSet( "JOBOPTSDUMPFILE" ) ) m_dump = System::getEnv( "JOBOPTSDUMPFILE" );
27 }
System::getEnv
GAUDI_API std::string getEnv(const char *var)
get a particular environment variable (returning "UNKNOWN" if not set)
Definition: System.cpp:369
extends< Service, IJobOptionsSvc >::base_class
extends base_class
Typedef to this class.
Definition: extends.h:14
JobOptionsSvc::m_dump
Gaudi::Property< std::string > m_dump
Definition: JobOptionsSvc.h:71
Service::name
const std::string & name() const override
Retrieve name of the service.
Definition: Service.cpp:274
JobOptionsSvc::m_dir_search_path
Gaudi::Property< std::string > m_dir_search_path
Definition: JobOptionsSvc.h:70
System::isEnvSet
GAUDI_API bool isEnvSet(const char *var)
Check if an environment variable is set or not.
Definition: System.cpp:389

## Member Function Documentation

## ◆ addPropertyToCatalogue()

StatusCode JobOptionsSvc::addPropertyToCatalogue | ( | const std::string & | client,
|  | const Gaudi::Details::PropertyBase & | property
| ) |  |
| override

Add a property into the JobOptions catalog.

Definition at line 47 of file JobOptionsSvc.cpp.

48 {
49 auto p = std::make_unique<Gaudi::Property<std::string>>( property.name(), "" );
50 return property.load( *p ) ? m_svc_catalog.addProperty( client, p.release() ) : StatusCode::FAILURE;
51 }
JobOptionsSvc::m_svc_catalog
SvcCatalog m_svc_catalog
Definition: JobOptionsSvc.h:75
SvcCatalog::addProperty
StatusCode addProperty(const std::string &client, const Gaudi::Details::PropertyBase *property)
Definition: SvcCatalog.cpp:36
StatusCode::FAILURE
constexpr static const auto FAILURE
Definition: StatusCode.h:86

## ◆ dump()

void JobOptionsSvc::dump | ( | const std::string & | file,
|  | const Gaudi::Parsers::Catalog & | catalog
| ) |  | const
| private

Definition at line 81 of file JobOptionsSvc.cpp.

81 {
82 std::ofstream out( file, std::ios_base::out | std::ios_base::trunc );
83 if ( !out ) {
84 error() << "Unable to open dump-file \"" + file + "\"" << endmsg;
85 return; // RETURN
86 }
87 info() << "Properties are dumped into \"" + file + "\"" << endmsg;
88 // perform the actual dump:
89 out << catalog;
90 }
CommonMessagingBase::info
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
Definition: CommonMessaging.h:104
std::ofstream
STL class.
CommonMessagingBase::error
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
Definition: CommonMessaging.h:98
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:192

## ◆ fillServiceCatalog()

void JobOptionsSvc::fillServiceCatalog | ( | const Gaudi::Parsers::Catalog & | catalog | ) |
| private

Definition at line 92 of file JobOptionsSvc.cpp.

92 {
93 for ( const auto& client : catalog ) {
94 for ( const auto& current : client.second ) {
95 addPropertyToCatalogue( client.first,
96 Gaudi::Property<std::string>{current.NameInClient(), current.ValueAsString()} );
97 }
98 }
99 }
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:352
JobOptionsSvc::addPropertyToCatalogue
StatusCode addPropertyToCatalogue(const std::string &client, const Gaudi::Details::PropertyBase &property) override
Add a property into the JobOptions catalog.
Definition: JobOptionsSvc.cpp:47

## ◆ getClientProperty()

const Gaudi::Details::PropertyBase* JobOptionsSvc::getClientProperty | ( | const std::string & | client,
|  | const std::string & | name
| ) |  | const
| inline override

Get a property for a client.

Definition at line 47 of file JobOptionsSvc.h.

48 {
49 return m_svc_catalog.getProperty( client, name );
50 }
SvcCatalog::getProperty
const Gaudi::Details::PropertyBase * getProperty(const std::string &client, const std::string &name) const
Definition: SvcCatalog.cpp:107
JobOptionsSvc::m_svc_catalog
SvcCatalog m_svc_catalog
Definition: JobOptionsSvc.h:75
Service::name
const std::string & name() const override
Retrieve name of the service.
Definition: Service.cpp:274

## ◆ getClients()

std::vector< std::string > JobOptionsSvc::getClients | ( |  | ) | const
| override

Get the list of clients.

Definition at line 79 of file JobOptionsSvc.cpp.

79 { return m_svc_catalog.getClients(); }
JobOptionsSvc::m_svc_catalog
SvcCatalog m_svc_catalog
Definition: JobOptionsSvc.h:75
SvcCatalog::getClients
std::vector< std::string > getClients() const
Definition: SvcCatalog.cpp:63

## ◆ getProperties()

const JobOptionsSvc::PropertiesT * JobOptionsSvc::getProperties | ( | const std::string & | client | ) | const
| override

Get the properties associated to a given client.

Definition at line 57 of file JobOptionsSvc.cpp.

57 {
58 return m_svc_catalog.getProperties( client );
59 }
SvcCatalog::getProperties
const PropertiesT * getProperties(const std::string &client) const
Definition: SvcCatalog.cpp:59
JobOptionsSvc::m_svc_catalog
SvcCatalog m_svc_catalog
Definition: JobOptionsSvc.h:75

## ◆ initialize()

StatusCode JobOptionsSvc::initialize | ( |  | ) |
| override

Definition at line 29 of file JobOptionsSvc.cpp.

29 {
30 // Call base class initializer
31 StatusCode sc = Service::initialize();
32 // Read the job options if needed
33 if ( sc ) {
34 if ( m_source_type == "NONE" ) {
35 return sc;
36 } else if ( m_source_type == "PYTHON" ) {
37 PythonConfig conf( this );
38 return conf.evaluateConfig( m_source_path, m_pythonParams, m_pythonAction );
39 } else {
40 return readOptions( m_source_path, m_dir_search_path );
41 }
42 }
43 return sc;
44 }
Service::initialize
StatusCode initialize() override
Definition: Service.cpp:60
JobOptionsSvc::m_source_path
Gaudi::Property< std::string > m_source_path
Definition: JobOptionsSvc.h:69
JobOptionsSvc::m_pythonAction
Gaudi::Property< std::string > m_pythonAction
Definition: JobOptionsSvc.h:72
PythonConfig
Definition: PythonConfig.h:23
JobOptionsSvc::m_pythonParams
Gaudi::Property< std::string > m_pythonParams
Definition: JobOptionsSvc.h:73
JobOptionsSvc::m_dir_search_path
Gaudi::Property< std::string > m_dir_search_path
Definition: JobOptionsSvc.h:70
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
JobOptionsSvc::readOptions
StatusCode readOptions(const std::string &file, const std::string &path="") override
look for file 'file' into search path 'path' and read it to update existing JobOptionsCatalogue
Definition: JobOptionsSvc.cpp:101
JobOptionsSvc::m_source_type
Gaudi::Property< std::string > m_source_type
dump the content of Properties catalog to the predefined file
Definition: JobOptionsSvc.h:68

## ◆ readOptions()

StatusCode JobOptionsSvc::readOptions | ( | const std::string & | file,
|  | const std::string & | path = `""`
| ) |  |
| override

look for file 'file' into search path 'path' and read it to update existing JobOptionsCatalogue

Parameters

  file | file name
  path | search path

Returns
  status code

Definition at line 101 of file JobOptionsSvc.cpp.

101 {
102 std::string search_path = path;
103 if ( search_path.empty() && !m_dir_search_path.empty() ) { search_path = m_dir_search_path; }
104 //
105 if ( msgLevel( MSG::DEBUG ) )
106 debug() << "Reading options from the file "
107 << "'" << file << "'" << endmsg;
108 gp::Messages messages( msgStream() );
109 gp::Catalog catalog;
110 gp::Units units;
111 gp::PragmaOptions pragma;
112 gp::Node ast;
113 StatusCode sc = gp::ReadOptions( file, path, &messages, &catalog, &units, &pragma, &ast ) ? StatusCode::SUCCESS
114 : StatusCode::FAILURE;
115
116 // --------------------------------------------------------------------------
117 if ( sc.isSuccess() ) {
118 if ( pragma.IsPrintOptions() ) { info() << "Print options" << std::endl << catalog << endmsg; }
119 if ( pragma.IsPrintTree() ) { info() << "Print tree:" << std::endl << ast.ToString() << endmsg; }
120 if ( pragma.HasDumpFile() ) dump( pragma.dumpFile(), catalog );
121 info() << "Job options successfully read in from " << file << endmsg;
122 fillServiceCatalog( catalog );
123 } else {
124 fatal() << "Job options errors." << endmsg;
125 }
126 // ----------------------------------------------------------------------------
127 return sc;
128 }
std::string::empty
T empty(T... args)
JobOptionsSvc::fillServiceCatalog
void fillServiceCatalog(const Gaudi::Parsers::Catalog &catalog)
Definition: JobOptionsSvc.cpp:92
GaudiPython.HistoUtils.path
path
Definition: HistoUtils.py:932
MSG::DEBUG
Definition: IMessageSvc.h:15
std::endl
T endl(T... args)
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition: StatusCode.h:85
CommonMessagingBase::info
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
Definition: CommonMessaging.h:104
Gaudi::Parsers::ReadOptions
bool ReadOptions(const std::string &filename, const std::string &search_path, Messages *messages, Catalog *catalog, Units *units, PragmaOptions *pragma, Node *root)
Parse and analyze filename, save all messages and properties.
Definition: Analyzer.cpp:377
CommonMessaging< implements< IService, IProperty, IStateful > >::msgLevel
MSG::Level msgLevel() const
get the cached level (originally extracted from the embedded MsgStream)
Definition: CommonMessaging.h:138
std::string
STL class.
JobOptionsSvc::m_dir_search_path
Gaudi::Property< std::string > m_dir_search_path
Definition: JobOptionsSvc.h:70
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
CommonMessagingBase::debug
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
Definition: CommonMessaging.h:107
CommonMessagingBase::msgStream
MsgStream & msgStream() const
Return an uninitialized MsgStream.
Definition: CommonMessaging.h:71
StatusCode::isSuccess
bool isSuccess() const
Definition: StatusCode.h:267
StatusCode::FAILURE
constexpr static const auto FAILURE
Definition: StatusCode.h:86
JobOptionsSvc::dump
void dump(const std::string &file, const Gaudi::Parsers::Catalog &catalog) const
Definition: JobOptionsSvc.cpp:81
CommonMessagingBase::fatal
MsgStream & fatal() const
shortcut for the method msgStream(MSG::FATAL)
Definition: CommonMessaging.h:92
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:192

## ◆ removePropertyFromCatalogue()

StatusCode JobOptionsSvc::removePropertyFromCatalogue | ( | const std::string & | client,
|  | const std::string & | name
| ) |  |
| override

Remove a property from the JobOptions catalog.

Definition at line 53 of file JobOptionsSvc.cpp.

53 {
54 return m_svc_catalog.removeProperty( client, name );
55 }
JobOptionsSvc::m_svc_catalog
SvcCatalog m_svc_catalog
Definition: JobOptionsSvc.h:75
SvcCatalog::removeProperty
StatusCode removeProperty(const std::string &client, const std::string &name)
Definition: SvcCatalog.cpp:47
Service::name
const std::string & name() const override
Retrieve name of the service.
Definition: Service.cpp:274

## ◆ setMyProperties()

StatusCode JobOptionsSvc::setMyProperties | ( | const std::string & | client,
|  | IProperty * | me
| ) |  |
| override

Override default properties of the calling client.

Parameters

  client | Name of the client algorithm or service
  me | Address of the interface IProperty of the client

Definition at line 61 of file JobOptionsSvc.cpp.

61 {
62 const auto* props = m_svc_catalog.getProperties( client );
63 if ( !props ) { return StatusCode::SUCCESS; }
64
65 bool fail = false;
66 for ( const auto& cur : *props ) {
67 StatusCode sc = myInt->setProperty( *cur );
68 if ( sc.isFailure() ) {
69 error() << "Unable to set the property '" << cur->name() << "'"
70 << " of '" << client << "'. "
71 << "Check option and algorithm names, type and bounds." << endmsg;
72 fail = true;
73 }
74 }
75 return fail ? StatusCode::FAILURE : StatusCode::SUCCESS;
76 }
SvcCatalog::getProperties
const PropertiesT * getProperties(const std::string &client) const
Definition: SvcCatalog.cpp:59
JobOptionsSvc::m_svc_catalog
SvcCatalog m_svc_catalog
Definition: JobOptionsSvc.h:75
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition: StatusCode.h:85
CommonMessagingBase::error
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
Definition: CommonMessaging.h:98
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
StatusCode::FAILURE
constexpr static const auto FAILURE
Definition: StatusCode.h:86
StatusCode::isFailure
bool isFailure() const
Definition: StatusCode.h:130
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:192

## Member Data Documentation

## ◆ m_dir_search_path

Gaudi::Property<std::string> JobOptionsSvc::m_dir_search_path {this, "SEARCHPATH"}
| private

Definition at line 70 of file JobOptionsSvc.h.

## ◆ m_dump

Gaudi::Property<std::string> JobOptionsSvc::m_dump {this, "DUMPFILE"}
| private

Definition at line 71 of file JobOptionsSvc.h.

## ◆ m_pythonAction

Gaudi::Property<std::string> JobOptionsSvc::m_pythonAction {this, "PYTHONACTION"}
| private

Definition at line 72 of file JobOptionsSvc.h.

## ◆ m_pythonParams

Gaudi::Property<std::string> JobOptionsSvc::m_pythonParams {this, "PYTHONPARAMS"}
| private

Definition at line 73 of file JobOptionsSvc.h.

## ◆ m_source_path

Gaudi::Property<std::string> JobOptionsSvc::m_source_path {this, "PATH"}
| private

Definition at line 69 of file JobOptionsSvc.h.

## ◆ m_source_type

Gaudi::Property<std::string> JobOptionsSvc::m_source_type {this, "TYPE"}
| private

dump the content of Properties catalog to the predefined file

Definition at line 68 of file JobOptionsSvc.h.

## ◆ m_svc_catalog

SvcCatalog JobOptionsSvc::m_svc_catalog
| private

Definition at line 75 of file JobOptionsSvc.h.

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

- GaudiCoreSvc/src/JobOptionsSvc/JobOptionsSvc.h
- GaudiCoreSvc/src/JobOptionsSvc/JobOptionsSvc.cpp