All Classes Namespaces Functions Variables Typedefs Friends Pages
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://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 __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 fromClass () const { return("LinkAccPropList"); }
35 
36  // Copy constructor: same as the original LinkAccPropList.
37  LinkAccPropList(const LinkAccPropList& original);
38 
39  // Creates a copy of an existing link access property list
40  // using the property list id.
41  LinkAccPropList (const hid_t plist_id);
42 
43  // Sets the number of soft or user-defined links that can be
44  // traversed before a failure occurs.
45  void setNumLinks(size_t nlinks) const;
46 
47  // Gets the number of soft or user-defined link traversals allowed
48  size_t getNumLinks() const;
49 
50  // Noop destructor
51  virtual ~LinkAccPropList();
52 
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54 
55  // Deletes the global constant, should only be used by the library
56  static void deleteConstants();
57 
58  private:
59  static LinkAccPropList* DEFAULT_;
60 
61  // Creates the global constant, should only be used by the library
62  static LinkAccPropList* getConstant();
63 
64 #endif // DOXYGEN_SHOULD_SKIP_THIS
65 
66 }; // end of LinkAccPropList
67 } // namespace H5
68 
69 #endif // __H5LinkAccPropList_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