| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SequentialOutputStream.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
2 #define GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
3
4 // Required for inheritance
5 #include "OutputStream.h"
6
13 class SequentialOutputStream : public OutputStream {
14
15 protected:
16
18 virtual StatusCode writeObjects();
19
20 public:
21
23 SequentialOutputStream(const std::string& nam, ISvcLocator* svc);
25 virtual ~SequentialOutputStream() {}
26
27 virtual StatusCode execute();
28
29 private:
30
31 // Properties
32 unsigned int m_eventsPerFile;
33 unsigned int m_nNumbersAdded;
34 bool m_numericFilename;
35
36 // Data members
37 unsigned int m_events;
38 unsigned int m_iFile;
39
40 // Helper Methods
41 void makeFilename();
42
43 };
44
45 #endif // GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H