My Project  1.12.2
H5LaccProp.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 H5LinkAccPropList_H
16 #define H5LinkAccPropList_H
17 
18 namespace H5 {
19 
24 // Inheritance: PropList -> IdComponent
25 class H5_DLLCPP LinkAccPropList : public PropList {
26  public:
28  static const LinkAccPropList &DEFAULT;
29 
30  // Creates a link access property list.
32 
34  virtual H5std_string
35  fromClass() const H5_OVERRIDE
36  {
37  return ("LinkAccPropList");
38  }
39 
40  // Copy constructor: same as the original LinkAccPropList.
41  LinkAccPropList(const LinkAccPropList &original);
42 
43  // Creates a copy of an existing link access property list
44  // using the property list id.
45  LinkAccPropList(const hid_t plist_id);
46 
47  // Sets the number of soft or user-defined links that can be
48  // traversed before a failure occurs.
49  void setNumLinks(size_t nlinks) const;
50 
51  // Gets the number of soft or user-defined link traversals allowed
52  size_t getNumLinks() const;
53 
54  // Noop destructor
55  virtual ~LinkAccPropList() H5_OVERRIDE;
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 LinkAccPropList *DEFAULT_;
64 
65  // Creates the global constant, should only be used by the library
66  static LinkAccPropList *getConstant();
67 
68 #endif // DOXYGEN_SHOULD_SKIP_THIS
69 
70 }; // end of LinkAccPropList
71 } // namespace H5
72 
73 #endif // H5LinkAccPropList_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