#ifndef HPARHADASCIFILEIIO_H
#define HPARHADASCIFILEIIO_H
using namespace std;
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string.h>
#include "hpario.h"
#include "hadascii.h"
#include "TList.h"
class HParHadAsciiFileIo : public HParIo {
protected:
Int_t fActive;
HAsciiKey fKey;
HAsciiRaw fRaw;
public:
HParHadAsciiFileIo();
HParHadAsciiFileIo(Int_t typ);
HParHadAsciiFileIo(const Char_t* typ);
~HParHadAsciiFileIo();
HAsciiRaw* GetRawAscii();
HAsciiKey* GetKeyAscii();
void SetAsciiType(Int_t typ = 0);
void SetAsciiType(const Char_t* typ);
Int_t GetAsciiType();
Bool_t open(Text_t* fname, Text_t* status="in");
void openfilelist(const Char_t* filename);
HParHadAsciiFileIo* getHadAscii(){return this;}
void close();
Bool_t check() {
switch (fActive) {
case 0: if (fKey.IsReadFile() || fKey.IsWriteFile()) return kTRUE;
case 1: if (fRaw.IsReadFile() || fRaw.IsWriteFile()) return kTRUE;
}
return kFALSE;
}
void print();
ClassDef(HParHadAsciiFileIo,0)
};
#endif /* !HPARHADASCIIFILEIO_H */
Last change: Sat May 22 13:06:23 2010
Last generated: 2010-05-22 13:06
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.