All Classes Namespaces Functions Variables Typedefs Friends Pages
H5LcreatProp.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 COPYING file, which can be found at the root of the source code *
10  * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
11  * If you do not have access to either file, you may request a copy from *
12  * help@hdfgroup.org. *
13  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
14 
15 #ifndef __H5LinkCreatPropList_H
16 #define __H5LinkCreatPropList_H
17 
18 namespace H5 {
19 
24 // Inheritance: PropList -> IdComponent
25 class H5_DLLCPP LinkCreatPropList : public PropList {
26  public:
28  static const LinkCreatPropList& DEFAULT;
29 
30  // Creates a link creation property list.
32 
34  virtual H5std_string fromClass () const { return("LinkCreatPropList"); }
35 
36  // Copy constructor: same as the original LinkCreatPropList.
37  LinkCreatPropList(const LinkCreatPropList& original);
38 
39  // Creates a copy of an existing link creation property list
40  // using the property list id.
41  LinkCreatPropList (const hid_t plist_id);
42 
43  // Specifies in property list whether to create missing
44  // intermediate groups
45  void setCreateIntermediateGroup(bool crt_intmd_group) const;
46 
47  // Determines whether property is set to enable creating missing
48  // intermediate groups
49  bool getCreateIntermediateGroup() const;
50 
51  // Sets the character encoding of the string.
52  void setCharEncoding(H5T_cset_t encoding) const;
53 
54  // Gets the character encoding of the string.
55  H5T_cset_t getCharEncoding() const;
56 
57  // Noop destructor
58  virtual ~LinkCreatPropList();
59 
60 #ifndef DOXYGEN_SHOULD_SKIP_THIS
61 
62  // Deletes the global constant, should only be used by the library
63  static void deleteConstants();
64 
65  private:
66  static LinkCreatPropList* DEFAULT_;
67 
68  // Creates the global constant, should only be used by the library
69  static LinkCreatPropList* getConstant();
70 
71 #endif // DOXYGEN_SHOULD_SKIP_THIS
72 
73 }; // end of LinkCreatPropList
74 } // namespace H5
75 
76 #endif // __H5LinkCreatPropList_H
Class PropList inherits from IdComponent and provides wrappers for the HDF5 generic property list...
Definition: H5PropList.h:25


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