HDF5 C++ API  1.10.0-patch1 currently under development
 All Classes Namespaces Functions Variables Typedefs Friends Pages
H5Include.h
1 // C++ informative line for the emacs editor: -*- C++ -*-
2 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3  * Copyright by The HDF Group. *
4  * Copyright by the Board of Trustees of the University of Illinois. *
5  * All rights reserved. *
6  * *
7  * This file is part of HDF5. The full HDF5 copyright notice, including *
8  * terms governing use, modification, and redistribution, is contained in *
9  * the files COPYING and Copyright.html. COPYING can be found at the root *
10  * of the source code distribution tree; Copyright.html can be found at the *
11  * root level of an installed copy of the electronic HDF5 document set and *
12  * is linked from the top-level documents page. It can also be found at *
13  * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
14  * access to either file, you may request a copy from help@hdfgroup.org. *
15  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
16 
17 #include <hdf5.h>
18 
19 // Define bool type for platforms that don't support bool yet
20 #ifdef BOOL_NOTDEFINED
21 #ifdef false
22 #undef false
23 #endif
24 #ifdef true
25 #undef true
26 #endif
27 typedef int bool;
28 const bool false = 0;
29 const bool true = 1;
30 #endif
31 
32 // These are defined in H5Opkg.h, which should not be included in the C++ API,
33 // so re-define them here for now.
34 
35 /* Initial version of the object header format */
36 #define H5O_VERSION_1 1
37 
38 /* Revised version - leaves out reserved bytes and alignment padding, and adds
39  * magic number as prefix and checksum as suffix for all chunks.
40  */
41 #define H5O_VERSION_2 2
42 


The HDF Group Help Desk:
  Copyright by The HDF Group
and the Board of Trustees of the University of Illinois