The Gaudi Framework  v33r1 (b1225454)
IJobOptionsSvc.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef KERNEL_IJOBOPTIONSSVC_H
12 #define KERNEL_IJOBOPTIONSSVC_H
13 
14 // Include files
15 #include "GaudiKernel/IInterface.h"
17 #include <string>
18 #include <vector>
19 
20 // Forward declaration
21 class StatusCode;
22 class IProperty;
23 
30 class GAUDI_API IJobOptionsSvc : virtual public IInterface {
31 public:
34 
39  virtual StatusCode setMyProperties( const std::string& client, IProperty* me ) = 0;
40 
42  virtual StatusCode addPropertyToCatalogue( const std::string& client,
43  const Gaudi::Details::PropertyBase& property ) = 0;
45  virtual StatusCode removePropertyFromCatalogue( const std::string& client, const std::string& name ) = 0;
47  virtual const std::vector<const Gaudi::Details::PropertyBase*>* getProperties( const std::string& client ) const = 0;
48 
50  virtual const Gaudi::Details::PropertyBase* getClientProperty( const std::string& client,
51  const std::string& name ) const = 0;
52 
54  virtual std::vector<std::string> getClients() const = 0;
55 
62  virtual StatusCode readOptions( const std::string& file, const std::string& path = "" ) = 0;
63 };
64 
65 #endif // KERNEL_IJOBOPTIONSSVC_H
bool PyHelper() addPropertyToCatalogue(IInterface *p, char *comp, char *name, char *value)
Definition: Bootstrap.cpp:255
STL class.
Main interface for the JobOptions service.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:61
Definition of the basic interface.
Definition: IInterface.h:254
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
Definition: Property.h:42
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
STL class.
The IProperty is the basic interface for all components which have properties that can be set or get.
Definition: IProperty.h:30
#define GAUDI_API
Definition: Kernel.h:81