EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairGenericParAsciiFileIo.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairGenericParAsciiFileIo.h
1 #ifndef FAIRGENERICPARASCIIFILEIO_H
2 #define FAIRGENERICPARASCIIFILEIO_H
3 
5 
6 #include <fstream>
7 
9 
11 {
12  public:
13  FairGenericParAsciiFileIo(std::fstream* f=0);
15  Bool_t init(FairParSet*);
16  Int_t write(FairParSet*);
17  private:
18 
19  ClassDef(FairGenericParAsciiFileIo,0) // I/O from Ascii file for parameter containers derived from FairParGenericSet
20  Bool_t readGenericSet(FairParGenericSet* pPar);
22 
23  template <class type> const UChar_t* readData(type,const Char_t*,TString&,Int_t&);
24  template <class type> void writeData(type*,Int_t);
25 };
26 
27 #endif /* !FAIRGENERICPARASCIIFILEIO_H */