/** Implementation file to open a Radio format data file on disk \author Harm Schoorlemmer \date Aug 2009 \version $id: $ */ #ifndef _io_RadioFileRAuger_h_ #define _io_RadioFileRAuger_h_ #include #include static const char CvsId_io_RadioFileRAuger[] = "$Id$"; namespace evt { class Event; } namespace revt { class REvent; } namespace io { class RadioFileRAuger : public VEventFile { public: RadioFileRAuger(); RadioFileRAuger(const std::string& theFilename, const Mode theMode = eRead); virtual ~RadioFileRAuger(); void Open(const std::string& theFilename, const Mode theMode = eRead); void Close(); Status FileStatus(); Status Read(evt::Event& theEvent); void Write(const evt::Event& theEvent); Status FindEvent(const unsigned int eventId); Status GotoPosition(const unsigned int position); int GetNEvents(); private: int fCurrentEvent; mutable std::ifstream fDiskStream; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: