| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 2010

# InputCopyStream.h

Go to the documentation of this file.

    00001 // $Id: InputCopyStream.h,v 1.2 2006/11/30 14:57:04 mato Exp $
    00002 #ifndef GAUDISVC_PERSISTENCYSVC_INPUTCOPYSTREAM_H
    00003 #define GAUDISVC_PERSISTENCYSVC_INPUTCOPYSTREAM_H
    00004
    00005
    00006 // Required for inheritance
    00007 #include "OutputStream.h"
    00008
    00009 class IDataStoreLeaves;
    00010
    00021 class InputCopyStream : public OutputStream {
    00022 public:
    00024   InputCopyStream(const std::string& name, ISvcLocator* pSvcLocator);
    00026   virtual ~InputCopyStream();
    00027
    00029   virtual StatusCode initialize();
    00030
    00032   virtual StatusCode finalize();
    00033
    00035   virtual StatusCode collectObjects();
    00036
    00037 private:
    00039   bool m_takeOptionalFromTES;
    00040
    00042   IDataStoreLeaves *m_leavesTool;
    00043
    00044 protected:
    00045
    00047   virtual bool hasInput() const
    00048   {
    00049     return true;
    00050   }
    00051
    00052 };
    00053
    00054 #endif // GAUDISVC_PERSISTENCYSVC_INPUTCOPYSTREAM_H