h5cpp  0.3.3
A modern C++ wrapper for the HDF5 C library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
file_creation.hpp
Go to the documentation of this file.
1 //
2 // (c) Copyright 2017 DESY,ESS
3 //
4 // This file is part of h5cpp.
5 //
6 // This library is free software; you can redistribute it and/or modify it
7 // under the terms of the GNU Lesser General Public License as published
8 // by the Free Software Foundation; either version 2.1 of the License, or
9 // (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful, but
12 // WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY
13 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 // License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public License
17 // along with this library; if not, write to the
18 // Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor
19 // Boston, MA 02110-1301 USA
20 // ===========================================================================
21 //
22 // Authors:
23 // Eugen Wintersberger <eugen.wintersberger@desy.de>
24 // Martin Shetty <martin.shetty@esss.se>
25 // Created on: Aug 18, 2017
26 //
27 #pragma once
28 
30 #include <h5cpp/core/windows.hpp>
31 
32 namespace hdf5 {
33 namespace property {
34 
36  public:
39 
40  explicit FileCreationList(ObjectHandle &&handle);
41 
42  void user_block(hsize_t size) const;
43  hsize_t user_block() const;
44 
45  void object_offset_size(size_t size) const;
46  size_t object_offset_size() const;
47 
48  void object_length_size(size_t size) const;
49  size_t object_length_size() const;
50 
51  void btree_rank(unsigned int ik);
52  unsigned int btree_rank() const;
53 
54  void btree_symbols(unsigned int lk);
55  unsigned int btree_symbols() const;
56 
57  void chunk_tree_rank(unsigned int ik);
58  unsigned int chunk_tree_rank() const;
59 
60 #if H5_VERSION_GE(1, 10, 1)
61  void page_size(hsize_t size);
62  hsize_t page_size() const;
63 #endif
64 
65 // The following still need wrapping
66 // H5Pset_file_space_strategy
67 // H5Pget_file_space_strategy
68 //
69 // H5Pset_shared_mesg_nindexes
70 // H5Pget_shared_mesg_nindexes
71 //
72 // H5Pset_shared_mesg_index
73 // H5Pget_shared_mesg_index
74 //
75 // H5Pset_shared_mesg_phase_change
76 // H5Pget_shared_mesg_phase_change
77 
78 // DO NOT WRAP the following:
79 // H5Pget_version -- deprecated in favor of H5Fget_info
80 
81 };
82 
83 } // namespace property
84 } // namespace hdf5
Wrapper for hid_t object identifiers.
Definition: object_handle.hpp:66
Definition: attribute.hpp:43
Definition: group_creation.hpp:36
#define DLL_EXPORT
Definition: windows.hpp:35
Definition: file_creation.hpp:35