The Gaudi Framework  v30r3 (a5ef0a68)
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 {
22 public:
25 
30  virtual StatusCode setMyProperties( const std::string& client, IProperty* me ) = 0;
31 
33  virtual StatusCode addPropertyToCatalogue( const std::string& client,
36  virtual StatusCode removePropertyFromCatalogue( const std::string& client, const std::string& name ) = 0;
38  virtual const std::vector<const Gaudi::Details::PropertyBase*>* getProperties( const std::string& client ) const = 0;
39 
41  virtual const Gaudi::Details::PropertyBase* getClientProperty( const std::string& client,
42  const std::string& name ) const = 0;
43 
45  virtual std::vector<std::string> getClients() const = 0;
46 
53  virtual StatusCode readOptions( const std::string& file, const std::string& path = "" ) = 0;
54 };
55 
56 #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:258
STL class.
Main interface for the JobOptions service.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
#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:277
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:104