9 #include <io/EventFile.h>
10 #include <evt/Event.h>
11 #include <utl/AugerException.h>
18 int main(
int argc,
char * argv[]){
25 cout <<
"Now trying to open a non existent file " << endl;
58 status = fdasfile->
Read(event);
void Open(const std::string &filename, const Mode mode=eRead, utl::Branch *const b=nullptr)
Base class to report exceptions in IO.
Offline native file format.
Status
Return code for seek operation.
int main(int argc, char *argv[])
Status Read(evt::Event &event)
read current event, advance cursor by 1
Interface to file I/O objects.
const std::string & GetMessage() const
Retrieve the message from the exception.