Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:57:40

0001 /***********************************************************************************\
0002 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
0003 *                                                                                   *
0004 * This software is distributed under the terms of the Apache version 2 licence,     *
0005 * copied verbatim in the file "LICENSE".                                            *
0006 *                                                                                   *
0007 * In applying this licence, CERN does not waive the privileges and immunities       *
0008 * granted to it by virtue of its status as an Intergovernmental Organization        *
0009 * or submit itself to any jurisdiction.                                             *
0010 \***********************************************************************************/
0011 #ifndef GAUDIKERNEL_INAMEDINTERFACE_H
0012 #define GAUDIKERNEL_INAMEDINTERFACE_H
0013 
0014 // Include files
0015 #include "GaudiKernel/IInterface.h"
0016 #include <string>
0017 
0018 /**
0019  * @class INamedInterface INamedInterface.h GaudiKernel/INamedInterface.h
0020  *
0021  * IInterface compliant class extending IInterface with the name() method.
0022  *
0023  * @author Charles Leggett
0024  */
0025 class GAUDI_API INamedInterface : virtual public IInterface {
0026 public:
0027   /// InterfaceID
0028   DeclareInterfaceID( INamedInterface, 1, 0 );
0029 
0030   /// Retrieve the name of the instance.
0031   virtual const std::string& name() const = 0;
0032 };
0033 
0034 #endif