FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairGeoIo.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 FAIRGEOIO_H
9 #define FAIRGEOIO_H
10 
11 #include <Rtypes.h> // for Bool_t, FairGeoIo::Class, etc
12 #include <TObject.h> // for TObject
13 
14 class FairGeoMedia;
15 class FairGeoSet;
16 class FairGeoInterface;
17 
22 class FairGeoIo : public TObject
23 {
24  public:
25  virtual Bool_t open(const char*, const Text_t* status = "in") = 0;
26  virtual void close() = 0;
27  virtual void print() = 0;
28  virtual Bool_t isOpen() = 0;
29  virtual Bool_t isWritable() = 0;
30  virtual Bool_t read(FairGeoMedia*) = 0;
31  virtual Bool_t read(FairGeoSet*, FairGeoMedia*) = 0;
32  virtual Bool_t write(FairGeoMedia*) = 0;
33  virtual Bool_t write(FairGeoSet*) = 0;
34  virtual Bool_t readGeomConfig(FairGeoInterface*) = 0;
35  virtual Bool_t setSimulRefRun(const char*) = 0;
36  virtual Bool_t setHistoryDate(const char*) = 0;
37 
38  private:
39  ClassDef(FairGeoIo, 0);
40 };
41 
42 #endif /* !FAIRGEOIO_H */
virtual Bool_t write(FairGeoMedia *)=0
virtual Bool_t readGeomConfig(FairGeoInterface *)=0
virtual Bool_t setHistoryDate(const char *)=0
virtual Bool_t isOpen()=0
virtual void close()=0
virtual void print()=0
virtual Bool_t read(FairGeoMedia *)=0
virtual Bool_t setSimulRefRun(const char *)=0
virtual Bool_t isWritable()=0
virtual Bool_t open(const char *, const Text_t *status="in")=0