| # Gaudi Framework, version v21r6 |

Home |  | Generated: 11 Nov 2009

# SequentialOutputStream.h

Go to the documentation of this file.

    00001 #ifndef GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
    00002 #define GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
    00003
    00004 // Required for inheritance
    00005 #include "OutputStream.h"
    00006
    00013 class SequentialOutputStream : public OutputStream     {
    00014
    00015  protected:
    00016
    00018    virtual StatusCode writeObjects();
    00019
    00020  public:
    00021
    00023    SequentialOutputStream(const std::string& nam, ISvcLocator* svc);
    00025    virtual ~SequentialOutputStream() {}
    00026
    00027    virtual StatusCode execute();
    00028
    00029  private:
    00030
    00031    // Properties
    00032    unsigned int m_eventsPerFile;
    00033    unsigned int m_nNumbersAdded;
    00034    bool m_numericFilename;
    00035
    00036    // Data members
    00037    unsigned int m_events;
    00038    unsigned int m_iFile;
    00039
    00040    // Helper Methods
    00041    void makeFilename();
    00042
    00043 };
    00044
    00045 #endif // GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H