HDF5 C++ API  1.8.20
 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 // Class LinkAccPropList represents the HDF5 file access property list and
16 // inherits from DataType.
17 
18 #ifndef __H5LinkAccPropList_H
19 #define __H5LinkAccPropList_H
20 
21 namespace H5 {
22 
29 class H5_DLLCPP LinkAccPropList : public PropList {
30  public:
32  static const LinkAccPropList& DEFAULT;
33 
34  // Creates a file access property list.
36 
38  virtual H5std_string fromClass () const { return("LinkAccPropList"); }
39 
40  // Copy constructor: creates a copy of a LinkAccPropList object.
41  LinkAccPropList(const LinkAccPropList& original);
42 
43  // Creates a copy of an existing file 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();
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 provides operations for generic property lists.
Definition: H5PropList.h:26


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