FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairGenericParAsciiFileIo.h
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
#ifndef FAIRGENERICPARASCIIFILEIO_H
9
#define FAIRGENERICPARASCIIFILEIO_H
10
11
#include "
FairDetParAsciiFileIo.h
"
// for FairDetParAsciiFileIo
12
13
#include <Rtypes.h>
// for Int_t, Bool_t, etc
14
#include <iosfwd>
// for fstream
15
16
class
FairParGenericSet
;
17
class
FairParSet
;
18
class
TString;
19
20
class
FairGenericParAsciiFileIo
:
public
FairDetParAsciiFileIo
21
{
22
public
:
23
FairGenericParAsciiFileIo
(std::fstream* f = 0);
24
~FairGenericParAsciiFileIo
() {}
25
Bool_t
init
(
FairParSet
*);
26
Int_t
write
(
FairParSet
*);
27
28
private
:
29
ClassDef(
FairGenericParAsciiFileIo
,
30
0)
// I/O from Ascii file for parameter containers derived from FairParGenericSet
31
Bool_t readGenericSet(
FairParGenericSet
* pPar);
32
Int_t writeGenericSet(
FairParGenericSet
* pPar);
33
34
template<class type>
35
const UChar_t* readData(type, const Char_t*, TString&, Int_t&);
36
template<class type>
37
void
writeData(type*, Int_t);
38
};
39
40
#endif
/* !FAIRGENERICPARASCIIFILEIO_H */
FairDetParAsciiFileIo.h
FairGenericParAsciiFileIo::write
Int_t write(FairParSet *)
Definition:
FairGenericParAsciiFileIo.cxx:60
FairParSet
Definition:
FairParSet.h:18
FairGenericParAsciiFileIo::~FairGenericParAsciiFileIo
~FairGenericParAsciiFileIo()
Definition:
FairGenericParAsciiFileIo.h:24
FairGenericParAsciiFileIo::init
Bool_t init(FairParSet *)
Definition:
FairGenericParAsciiFileIo.cxx:45
FairGenericParAsciiFileIo::FairGenericParAsciiFileIo
FairGenericParAsciiFileIo(std::fstream *f=0)
Definition:
FairGenericParAsciiFileIo.cxx:36
FairGenericParAsciiFileIo
Definition:
FairGenericParAsciiFileIo.h:20
FairParGenericSet
Definition:
FairParGenericSet.h:18
FairDetParAsciiFileIo
Definition:
FairDetParAsciiFileIo.h:19
FairRoot
parbase
FairGenericParAsciiFileIo.h
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5