The Gaudi Framework  master (37c0b60a)
IAddressCreator.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 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 GAUDIKERNEL_IADDRESSCREATOR_H
12 #define GAUDIKERNEL_IADDRESSCREATOR_H
13 
14 // Framework include files
15 #include <GaudiKernel/ClassID.h>
16 #include <GaudiKernel/IInterface.h>
17 
18 // C++ include files
19 #include <string>
20 
21 // Forward declarations
22 class IOpaqueAddress;
23 
38 class GAUDI_API IAddressCreator : virtual public IInterface {
39 public:
42 
57  virtual StatusCode createAddress( long svc_type, const CLID& clid, const std::string* par, const unsigned long* ipar,
58  IOpaqueAddress*& refpAddress ) = 0;
59 
65  virtual StatusCode convertAddress( const IOpaqueAddress* pAddress, std::string& refAddress ) = 0;
66 
76  virtual StatusCode createAddress( long svc_type, const CLID& clid, const std::string& refAddress,
77  IOpaqueAddress*& refpAddress ) = 0;
78 };
79 
80 #endif // GAUDIKERNEL_IADDRESSCREATOR_H
IAddressCreator
Definition: IAddressCreator.h:38
std::string
STL class.
IOpaqueAddress
Definition: IOpaqueAddress.h:33
ClassID.h
IAddressCreator::convertAddress
virtual StatusCode convertAddress(const IOpaqueAddress *pAddress, std::string &refAddress)=0
Convert an address to string form.
IAddressCreator::DeclareInterfaceID
DeclareInterfaceID(IAddressCreator, 3, 0)
InterfaceID.
compareOutputFiles.par
par
Definition: compareOutputFiles.py:477
StatusCode
Definition: StatusCode.h:65
IInterface.h
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:18
IAddressCreator::createAddress
virtual StatusCode createAddress(long svc_type, const CLID &clid, const std::string *par, const unsigned long *ipar, IOpaqueAddress *&refpAddress)=0
Create a Generic address using explicit arguments to identify a single object.
IInterface
Definition: IInterface.h:239
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81
IAddressCreator::createAddress
virtual StatusCode createAddress(long svc_type, const CLID &clid, const std::string &refAddress, IOpaqueAddress *&refpAddress)=0
Creates an address in string form to object form.