/** Implementation file to open a Radio data file in to def. AERA format \author Julian Rautenberg \date Apr 2010 \version $id: $ */ #ifndef _io_RadioFileAERA_h_ #define _io_RadioFileAERA_h_ #include #include static const char CvsId_io_RadioFileAERA[] = "$Id$"; namespace io { class RadioFileAERA : public VEventFile { public: RadioFileAERA(); RadioFileAERA(const std::string& theFilename, const Mode theMode = eRead); virtual ~RadioFileAERA(); void Open(const std::string& theFilename, const Mode theMode = eRead); void Close(); Status Read(evt::Event& theEvent); void Write(const evt::Event& theEvent); Status FileStatus(); Status FindEvent(const unsigned int eventId); Status GotoPosition(const unsigned int position); int GetNEvents(); private: int fCurrentEvent; bool fHasFileOpen; bool fIsFirstevent; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: