Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IJobOptionsSvc.h
Go to the documentation of this file.
1 #ifndef KERNEL_IJOBOPTIONSSVC_H
2 #define KERNEL_IJOBOPTIONSSVC_H
3 
4 // Include files
7 #include <string>
8 #include <vector>
9 
10 // Forward declaration
11 class StatusCode;
12 class IProperty;
13 
20 class GAUDI_API IJobOptionsSvc : virtual public IInterface {
21 public:
24 
29  virtual StatusCode setMyProperties( const std::string& client, IProperty* me ) = 0;
30 
32  virtual StatusCode addPropertyToCatalogue( const std::string& client,
35  virtual StatusCode removePropertyFromCatalogue( const std::string& client, const std::string& name ) = 0;
37  virtual const std::vector<const Gaudi::Details::PropertyBase*>* getProperties( const std::string& client ) const = 0;
38 
40  virtual const Gaudi::Details::PropertyBase* getClientProperty( const std::string& client,
41  const std::string& name ) const = 0;
42 
44  virtual std::vector<std::string> getClients() const = 0;
45 
52  virtual StatusCode readOptions( const std::string& file, const std::string& path = "" ) = 0;
53 };
54 
55 #endif // KERNEL_IJOBOPTIONSSVC_H
Gaudi::Details::PropertyBase * property(const std::string &name) const
bool PyHelper() addPropertyToCatalogue(IInterface *p, char *comp, char *name, char *value)
Definition: Bootstrap.cpp:245
STL class.
Main interface for the JobOptions service.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
Definition of the basic interface.
Definition: IInterface.h:244
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
Definition: Property.h:32
STL class.
The IProperty is the basic interface for all components which have properties that can be set or get...
Definition: IProperty.h:20
const std::vector< Gaudi::Details::PropertyBase * > & getProperties() const override
get all properties
#define GAUDI_API
Definition: Kernel.h:71