GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4HDF5StoreParameter.cxx
Go to the documentation of this file.
1 // $Id$
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #include "TGo4HDF5StoreParameter.h"
15 
16 #include "TGo4Status.h"
17 #include "Go4EventServerTypes.h"
18 
21  fiFlags(flags)
22 {
23  SetTitle(name);
24 }
25 
27  TGo4EventStoreParameter("Default Go4 HDF5 Store", GO4EV_HDF5)
28 {
29  SetTitle("Go4HDF5Store");
30 }
31 
33 {
34 }
35 
36 void TGo4HDF5StoreParameter::Print(Option_t *) const
37 {
39  TGo4Status::PrintLine(" File flags: \t%d", fiFlags);
40 }
41 
43 {
44  auto filepar = dynamic_cast<TGo4HDF5StoreParameter*>(rhs);
45  if (!filepar) return kFALSE;
46  if(!TGo4EventStoreParameter::UpdateFrom(rhs)) return kFALSE;
47  SetHDF5Flags(filepar->GetHDF5Flags());
48  return kTRUE;
49 }
Bool_t UpdateFrom(TGo4Parameter *rhs) override
Go4_H5_File_Flags
Definition: Go4HDF5.h:41
void SetHDF5Flags(Go4_H5_File_Flags flags)
static void PrintLine(const char *text,...)
Definition: TGo4Status.cxx:101
void Print(Option_t *opt="") const override
void Print(Option_t *opt="") const override
Bool_t UpdateFrom(TGo4Parameter *rhs) override