GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Go4HDF5.h
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 // common definitions for go4 hdf5 plugins
15 
16 #ifndef GO4HDF5_H
17 #define GO4HDF5_H
18 
19 
20 // following define will switch on detailed dumps of hdf5 io data:
21 //#define GO4HDF5_DEBUG 1
22 
23 #ifdef GO4HDF5_DEBUG
24 #define go4hdfdbg( args... ) printf( args );
25 #else
26 #define go4hdfdbg( args...);
27 
28 #endif
29 
30 
31 #define go4hdfdatahandlethrow( args ... ) \
32  TString msg= TString::Format( args ); \
33  TGo4Log::Error("TGo4HDF5DataHandle: %s", msg.Data()); \
34  fxParentSource->SetErrMess(msg.Data()); \
35  throw TGo4EventSourceException(fxParentSource); \
36 
37 
38 
39 
41 typedef enum Go4_H5_File_Flags{
48 
49 
50 #endif //GO4EVENTSERVER_H
Go4_H5_File_Flags
Definition: Go4HDF5.h:41