My Project  1.10.11
H5LcreatProp.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 H5LinkCreatPropList_H
15 #define H5LinkCreatPropList_H
16 
17 namespace H5 {
18 
23 // Inheritance: PropList -> IdComponent
24 class H5_DLLCPP LinkCreatPropList : public PropList {
25  public:
27  static const LinkCreatPropList &DEFAULT;
28 
29  // Creates a link creation property list.
31 
33  virtual H5std_string
34  fromClass() const
35  {
36  return ("LinkCreatPropList");
37  }
38 
39  // Copy constructor: same as the original LinkCreatPropList.
40  LinkCreatPropList(const LinkCreatPropList &original);
41 
42  // Creates a copy of an existing link creation property list
43  // using the property list id.
44  LinkCreatPropList(const hid_t plist_id);
45 
46  // Specifies in property list whether to create missing
47  // intermediate groups
48  void setCreateIntermediateGroup(bool crt_intmd_group) const;
49 
50  // Determines whether property is set to enable creating missing
51  // intermediate groups
52  bool getCreateIntermediateGroup() const;
53 
54  // Sets the character encoding of the string.
55  void setCharEncoding(H5T_cset_t encoding) const;
56 
57  // Gets the character encoding of the string.
58  H5T_cset_t getCharEncoding() const;
59 
60  // Noop destructor
61  virtual ~LinkCreatPropList();
62 
63 #ifndef DOXYGEN_SHOULD_SKIP_THIS
64 
65  // Deletes the global constant, should only be used by the library
66  static void deleteConstants();
67 
68  private:
69  static LinkCreatPropList *DEFAULT_;
70 
71  // Creates the global constant, should only be used by the library
72  static LinkCreatPropList *getConstant();
73 
74 #endif // DOXYGEN_SHOULD_SKIP_THIS
75 
76 }; // end of LinkCreatPropList
77 } // namespace H5
78 
79 #endif // H5LinkCreatPropList_H
H5::PropListIException
Definition: H5Exception.h:123
H5
Definition: H5AbstractDs.cpp:33
H5::PropList
Class PropList inherits from IdComponent and provides wrappers for the HDF5 generic property list.
Definition: H5PropList.h:24


The HDF Group Help Desk:
  Copyright by The HDF Group