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