#ifndef _io_IoAugerEventFile_h_ #define _io_IoAugerEventFile_h_ /** \file Declaration of class \author \version $Id$ \date 22 Jun 2004 */ #include #include static const char CvsId_io_IoAugerEventFile[] = "$Id$"; namespace io { /** \class IoAugerEventFile IoAugerEventFile.h "io/IoAugerEventFile.h" \brief \author Stefano Argiro` \date 22 Jun 2004 \ingroup cdas */ class IoAugerEventFile : public VEventFile { public: IoAugerEventFile(); IoAugerEventFile(const std::string& filename, const Mode theMode = eRead); virtual ~IoAugerEventFile(); void Open(const std::string& filename, const Mode theMode = eRead); void Close(); Status Read(evt::Event& event); void Write(const evt::Event& event); Status FindEvent(const unsigned int n); Status GotoPosition(const unsigned int n); int GetNEvents(); private: AugerFile::Mode ConvertMode(const Mode); AugerFile* fAugerFile; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: