HDF5 C++ API  1.8.18
 All Classes Namespaces Functions Variables Typedefs Friends Pages
H5OcreatProp.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 #ifndef __H5ObjCreatPropList_H
18 #define __H5ObjCreatPropList_H
19 
20 namespace H5 {
21 
23 class H5_DLLCPP ObjCreatPropList : public PropList {
24  public:
26  static const ObjCreatPropList& DEFAULT;
27 
28  // Creates a object creation property list.
30 
31  // Sets attribute storage phase change thresholds.
32  void setAttrPhaseChange(unsigned max_compact = 8, unsigned min_dense = 6) const;
33 
34  // Gets attribute storage phase change thresholds.
35  void getAttrPhaseChange(unsigned& max_compact, unsigned& min_dense) const;
36 
37  // Sets tracking and indexing of attribute creation order.
38  void setAttrCrtOrder(unsigned crt_order_flags) const;
39 
40  // Gets tracking and indexing settings for attribute creation order.
41  unsigned getAttrCrtOrder() const;
42 
43 
45  virtual H5std_string fromClass () const { return("ObjCreatPropList"); }
46 
47  // Copy constructor: creates a copy of a ObjCreatPropList object.
48  ObjCreatPropList( const ObjCreatPropList& original );
49 
50  // Creates a copy of an existing object creation property list
51  // using the property list id.
52  ObjCreatPropList (const hid_t plist_id);
53 
54  // Noop destructor
55  virtual ~ObjCreatPropList();
56 
57 #ifndef DOXYGEN_SHOULD_SKIP_THIS
58 
59  // Deletes the global constant, should only be used by the library
60  static void deleteConstants();
61 
62  private:
63  static ObjCreatPropList* DEFAULT_;
64 
65  // Creates the global constant, should only be used by the library
66  static ObjCreatPropList* getConstant();
67 
68 #endif // DOXYGEN_SHOULD_SKIP_THIS
69 
70 };
71 }
72 #endif // __H5ObjCreatPropList_H
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5OcreatProp.h:45
Class PropList provides operations for generic property lists.
Definition: H5PropList.h:23
static const ObjCreatPropList & DEFAULT
Default object creation property list.
Definition: H5OcreatProp.h:26
Class ObjCreatPropList represents the HDF5 object creation property list.
Definition: H5OcreatProp.h:23


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