Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:00:31

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_IDATASTORELEAVES_H
0012 #define GAUDIKERNEL_IDATASTORELEAVES_H
0013 
0014 // Include Files
0015 #include "GaudiKernel/IAlgTool.h"
0016 #include <vector>
0017 
0018 class DataObject;
0019 
0020 /** Interface for a tool or service that returns a list of leaves (paths) in a
0021  *  transient store.
0022  *
0023  *  @author Marco Clemencic
0024  */
0025 class GAUDI_API IDataStoreLeaves : virtual public IAlgTool {
0026 
0027 public:
0028   /// InterfaceID
0029   DeclareInterfaceID( IDataStoreLeaves, 1, 0 );
0030 
0031   /// Returned type
0032   typedef std::vector<DataObject*> LeavesList;
0033 
0034   /// Return the list of leaves.
0035   virtual const LeavesList& leaves() const = 0;
0036 };
0037 
0038 #endif