My Project 1.10.10
Loading...
Searching...
No Matches
H5DaccProp.h
1// C++ informative line for the emacs editor: -*- C++ -*-
2/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
3 * Copyright by The HDF Group. *
4 * All rights reserved. *
5 * *
6 * This file is part of HDF5. The full HDF5 copyright notice, including *
7 * terms governing use, modification, and redistribution, is contained in *
8 * the COPYING file, which can be found at the root of the source code *
9 * distribution tree, or in https://www.hdfgroup.org/licenses. *
10 * If you do not have access to either file, you may request a copy from *
11 * help@hdfgroup.org. *
12 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13
14#ifndef H5DSetAccPropList_H
15#define H5DSetAccPropList_H
16
17namespace H5 {
18
23// Inheritance: LinkAccPropList -> PropList -> IdComponent
24class H5_DLLCPP DSetAccPropList : public LinkAccPropList {
25 public:
27 static const DSetAccPropList &DEFAULT;
28
29 // Creates a dataset creation property list.
31
32 // Sets the raw data chunk cache parameters.
33 void setChunkCache(size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0) const;
34
35 // Retrieves the raw data chunk cache parameters.
36 void getChunkCache(size_t &rdcc_nslots, size_t &rdcc_nbytes, double &rdcc_w0) const;
37
39 virtual H5std_string
40 fromClass() const
41 {
42 return ("DSetAccPropList");
43 }
44
45 // Copy constructor - same as the original DSetAccPropList.
47
48 // Creates a copy of an existing dataset creation property list
49 // using the property list id.
50 DSetAccPropList(const hid_t plist_id);
51
52 // Noop destructor.
53 virtual ~DSetAccPropList();
54
55#ifndef DOXYGEN_SHOULD_SKIP_THIS
56
57 // Deletes the global constant, should only be used by the library
58 static void deleteConstants();
59
60 private:
61 static DSetAccPropList *DEFAULT_;
62
63 // Creates the global constant, should only be used by the library
64 static DSetAccPropList *getConstant();
65
66#endif // DOXYGEN_SHOULD_SKIP_THIS
67
68}; // end of DSetAccPropList
69} // namespace H5
70
71#endif // H5DSetAccPropList_H
Class DSetAccPropList inherits from LinkAccPropList and provides wrappers for the HDF5 dataset access...
Definition H5DaccProp.h:24
virtual H5std_string fromClass() const
Returns this class name.
Definition H5DaccProp.h:40
static const DSetAccPropList & DEFAULT
Default dataset creation property list.
Definition H5DaccProp.h:27
Definition H5AbstractDs.cpp:33


The HDF Group Help Desk:
  Copyright by The HDF Group