All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
InputCopyStream.h
Go to the documentation of this file.
1 // $Id: InputCopyStream.h,v 1.2 2006/11/30 14:57:04 mato Exp $
2 #ifndef GAUDISVC_PERSISTENCYSVC_INPUTCOPYSTREAM_H
3 #define GAUDISVC_PERSISTENCYSVC_INPUTCOPYSTREAM_H
4 
5 
6 // Required for inheritance
7 #include "OutputStream.h"
8 
9 class IDataStoreLeaves;
10 
22 {
23 
24 public:
25 
27  InputCopyStream(const std::string& name, ISvcLocator* pSvcLocator);
28 
30  virtual ~InputCopyStream();
31 
33  virtual StatusCode initialize();
34 
36  virtual StatusCode finalize();
37 
39  virtual StatusCode collectObjects();
40 
41 private:
42 
45 
47  std::vector<std::string> m_tesVetoList;
48 
49 protected:
50 
52  virtual bool hasInput() const
53  {
54  return true;
55  }
56 
57 };
58 
59 #endif // GAUDISVC_PERSISTENCYSVC_INPUTCOPYSTREAM_H
virtual StatusCode finalize()
Finalize the instance.
Extension of OutputStream to copy the content of the main input file.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
Interface for a tool or service that returns a list of leaves (paths) in a transient store...
virtual StatusCode initialize()
Initialize the instance.
virtual ~InputCopyStream()
Standard Destructor.
virtual StatusCode collectObjects()
Collect all objects to be written to the output stream.
A small to stream Data I/O.
Definition: OutputStream.h:27
std::vector< std::string > m_tesVetoList
Names of TES locations to Veto.
InputCopyStream(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm Constructor.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
IDataStoreLeaves * m_leavesTool
Pointer to the (public) tool used to retrieve the objects in a file.
virtual bool hasInput() const
Overridden from the base class (InputCopyStream has always input).
virtual const std::string & name() const
The identifying name of the algorithm object.
Definition: Algorithm.cpp:837