My Project 1.10.4
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
21namespace H5 {
22
27// Inheritance: PropList -> IdComponent
28class H5_DLLCPP LinkAccPropList : public PropList {
29 public:
31 static const LinkAccPropList& DEFAULT;
32
33 // Creates a file access property list.
35
37 virtual H5std_string fromClass () const { return("LinkAccPropList"); }
38
39 // Copy constructor: same as the original LinkAccPropList.
40 LinkAccPropList(const LinkAccPropList& original);
41
42 // Creates a copy of an existing file 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
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