/** \file declaration of io codes \author Stefano Argiro \version $Id$ \date 04 Feb 2004 */ #ifndef _io_IoCodes_h_ #define _io_IoCodes_h_ namespace io { /// Available open modes enum Mode { eRead = 1, /// Read Only access eWrite = 2, /// Open file for write, fail if exists eNew = 3, /// Overwrite if exist and open for write eAppend = 4 /// Append to existing file }; /// Return code for seek operation enum Status { eSuccess = 0, eFail = 1, eEOF = 2, eSkipEvent = 3 }; /// The type of file that we are acutally opening enum Type { eOffline, /// Offline native file format eFDas, /// FDas file format eCDas, /// CDas file format eCorsika, eAires, eIoAuger, /// IoAuger file format eCONEX, eCONEXRandom, /// conex file, with random access (NOT sequencial, NO EOF) eSeneca, /// Seneca File Format. Added by Jeff Allen (jda292@nyu.edu) on Dec. 5th, 2006 eArtificial, eZHAireS, /// air shower radio simulations generated with ZHAireS eREAS, /// air shower radio simulations generated with REAS //eReAires, /// air shower radio simulations generated with ReAires eEVA, /// air shower radio simulations generated with EVA eRadioSTAR, /// radio detector data input-file, setup at BLS with KA-Star data-format eRadioMAXIMA, /// Raw data-format for the BLS test setup with MAXIMA (first used in 2007) eRadioAERA, /// data-format of AERA eRadioAERAroot, /// root-format of AERA eRadioRAuger, /// data-format of RAuger eSELFAS, /// data-format of SELFAS eUnknownType }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: