GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
Go4HDF5
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
{
42
GO4_H5F_ACC_NONE
,
43
GO4_H5F_ACC_TRUNC
,
44
GO4_H5F_ACC_EXCL
,
45
GO4_H5F_ACC_RDONLY
,
46
GO4_H5F_ACC_RDWR
47
}
Go4_H5_File_Flags
;
48
49
50
#endif
//GO4EVENTSERVER_H
Go4_H5_File_Flags
Go4_H5_File_Flags
to decouple parameter from hdf5 library we use own definitions for file modes
Definition
Go4HDF5.h:41
GO4_H5F_ACC_RDONLY
@ GO4_H5F_ACC_RDONLY
Definition
Go4HDF5.h:45
GO4_H5F_ACC_TRUNC
@ GO4_H5F_ACC_TRUNC
Definition
Go4HDF5.h:43
GO4_H5F_ACC_RDWR
@ GO4_H5F_ACC_RDWR
Definition
Go4HDF5.h:46
GO4_H5F_ACC_EXCL
@ GO4_H5F_ACC_EXCL
Definition
Go4HDF5.h:44
GO4_H5F_ACC_NONE
@ GO4_H5F_ACC_NONE
Definition
Go4HDF5.h:42
Generated by
1.13.2