1 #ifndef JOBOPTIONSSVC_H_
2 #define JOBOPTIONSSVC_H_
4 #include "GaudiKernel/StatusCode.h"
5 #include "GaudiKernel/IProperty.h"
6 #include "GaudiKernel/IJobOptionsSvc.h"
7 #include "GaudiKernel/Property.h"
8 #include "GaudiKernel/PropertyMgr.h"
9 #include "GaudiKernel/Service.h"
15 namespace Gaudi {
namespace Parsers {
46 const std::string&
name )
override;
48 const std::vector<const Property*>*
52 std::vector<std::string>
getClients()
const override;
61 const std::string&
path =
"" )
override;
void fillServiceCatalog(const Gaudi::Parsers::Catalog &catalog)
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
std::vector< std::string > getClients() const override
Get the list of clients.
std::string m_source_type
std::string m_pythonAction
StatusCode setProperty(const Property &p) override
Property manager helper class.
StatusCode getProperty(Property *p) const override
std::string m_dir_search_path
const std::vector< Property * > & getProperties() const override
void dump(const std::string &file, const Gaudi::Parsers::Catalog &catalog) const
StatusCode setMyProperties(const std::string &client, IProperty *me) override
Override default properties of the calling client.
StatusCode setProperty(const Property &p) override
IProperty implementation (needed for initialisation)
This class is used for returning status codes from appropriate routines.
~JobOptionsSvc() override=default
destructor
Property base class allowing Property* collections to be "homogeneous".
Base class used to extend a class implementing other interfaces.
StatusCode getProperty(Property *p) const override
const std::vector< const Property * > * getProperties(const std::string &client) const override
Get the properties associated to a given client.
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 ...
StatusCode removePropertyFromCatalogue(const std::string &client, const std::string &name) override
Remove a property from the JobOptions catalog.
StatusCode addPropertyToCatalogue(const std::string &client, const Property &property) override
Add a property into the JobOptions catalog.
StatusCode initialize() override
std::string m_pythonParams
JobOptionsSvc(const std::string &name, ISvcLocator *svc)
PropertyMgr m_pmgr
dump the content of Properties catalog to the predefined file
std::vector< const Property * > PropertiesT
The IProperty is the basic interface for all components which have properties that can be set or get...
std::string m_source_path
Helper functions to set/get the application return code.