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


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