20 #include "TDataMember.h"
21 #include "TVirtualCollectionProxy.h"
22 #include "TBaseClass.h"
40 GO4TRACE((15,
"TGo4HDF5Store::TGo4HDF5Store()", __LINE__, __FILE__));
54 GO4TRACE((15,
"TGo4HDF5Store::TGo4HDF5Store(char*,...)", __LINE__, __FILE__));
63 GO4TRACE((15,
"TGo4HDF5Store::TGo4HDF5Store(TGo4HDF5StoreParameter* par)", __LINE__, __FILE__));
66 TGo4Log::Error(
"TGo4HDF5Store::TGo4HDF5Store(.., TGo4HDF5StoreParameter* is not specified");
69 SetName(par->GetName());
77 GO4TRACE((15,
"TGo4HDF5Store::~TGo4HDF5Store()", __LINE__, __FILE__));
85 TString buffer(GetName());
94 TGo4Log::Info(
"TGo4HDF5Store: Open file %s RECREATE", buffer.Data());
96 else if (
fiFlags == H5F_ACC_RDWR)
98 TGo4Log::Info(
"TGo4HDF5Store: Open file %s for UPDATE", buffer.Data());
100 else if (
fiFlags == H5F_ACC_EXCL)
102 TGo4Log::Info(
"TGo4HDF5Store: Open file %s exclusively", buffer.Data());
111 catch(H5::Exception& ex)
113 TString
msg= TString::Format(
"OpenFile with HDF5 exception in %s : %s\n", ex. getCFuncName (), ex.getCDetailMsg ());
126 if (event==0 ||
fxFile==0)
return;
134 catch(H5::Exception& ex)
136 TString
msg= TString::Format(
"BuildDataSet with HDF5 exception in %s : %s\n", ex.getCFuncName (), ex.getCDetailMsg ());
148 GO4TRACE((12,
"TGo4HDF5Store::Store(TGo4EventElement*)", __LINE__, __FILE__));
159 catch(H5::Exception& ex)
161 TString
msg = TString::Format(
"Store() with HDF5 exception in %s : %s\n", ex.getCFuncName (), ex.getCDetailMsg ());
197 TGo4Log::Info(
"TGo4HDF5Store: WriteToStore not yet implemented for auxiliary objects of class %s (name:%s)\n",ob->Class()->GetName(), ob->GetName());
static const char * fgcFILESUF
virtual void OpenFile(const char *name=0)
UInt_t ConvertFileMode(Go4_H5_File_Flags flags)
void BuildDataType(TGo4EventElement *event, TGo4HDF5DataHandle *parent=0, Int_t index=0)
virtual void BuildDataSet(TGo4EventElement *event)
TGo4EventElement * fxEvent
virtual void Write(hsize_t sequencenum, H5::H5File *file)
void WriteToStore(TNamed *ob)
virtual void DeleteDataSet()
Go4_H5_File_Flags GetHDF5Flags() const
virtual void BuildWriteDataset(H5::H5File *file)
virtual void SetObjectPointer(void *memptr)
virtual Int_t Store(TGo4EventElement *event)
static void Error(const char *text,...)
static void Info(const char *text,...)
TGo4HDF5DataHandle * fxHandle