My Project  1.10.11
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 
17 namespace H5 {
18 
23 // Inheritance: LinkAccPropList -> PropList -> IdComponent
24 class 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.
46  DSetAccPropList(const DSetAccPropList &orig);
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
H5::PropListIException
Definition: H5Exception.h:123
H5::DSetAccPropList::~DSetAccPropList
virtual ~DSetAccPropList()
Noop destructor.
Definition: H5DaccProp.cpp:167
H5::DSetAccPropList::DSetAccPropList
DSetAccPropList()
Default constructor: creates a stub dataset creation property list.
Definition: H5DaccProp.cpp:90
H5::DSetAccPropList::DEFAULT
static const DSetAccPropList & DEFAULT
Default dataset creation property list.
Definition: H5DaccProp.h:27
H5::DSetAccPropList::fromClass
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DaccProp.h:40
H5::DSetAccPropList::getChunkCache
void getChunkCache(size_t &rdcc_nslots, size_t &rdcc_nbytes, double &rdcc_w0) const
Retrieves the raw data chunk cache parameters.
Definition: H5DaccProp.cpp:154
H5
Definition: H5AbstractDs.cpp:33
H5::DSetAccPropList::setChunkCache
void setChunkCache(size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0) const
Sets the raw data chunk cache parameters.
Definition: H5DaccProp.cpp:133
H5::DSetAccPropList
Class DSetAccPropList inherits from LinkAccPropList and provides wrappers for the HDF5 dataset access...
Definition: H5DaccProp.h:24


The HDF Group Help Desk:
  Copyright by The HDF Group