MISR Toolkit  1.5.1
H5LaccProp.h
Go to the documentation of this file.
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 
27  public:
29  static const LinkAccPropList& DEFAULT;
30 
31  // Creates a link access property list.
33 
35  virtual H5std_string fromClass () const { return("LinkAccPropList"); }
36 
37  // Copy constructor: creates a copy of a LinkAccPropList object.
38  LinkAccPropList(const LinkAccPropList& original);
39 
40  // Creates a copy of an existing link access property list
41  // using the property list id.
42  LinkAccPropList(const hid_t lapl_id);
43 
44  // Sets the number of soft or user-defined links that can be
45  // traversed before a failure occurs.
46  void setNumLinks(size_t nlinks) const;
47 
48  // Gets the number of soft or user-defined link traversals allowed
49  size_t getNumLinks() const;
50 
51  // Noop destructor
52  virtual ~LinkAccPropList();
53 
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 
56  // Deletes the global constant, should only be used by the library
57  static void deleteConstants();
58 
59  private:
61 
62  // Creates the global constant, should only be used by the library
63  static LinkAccPropList* getConstant();
64 
65 #endif // DOXYGEN_SHOULD_SKIP_THIS
66 
67 }; // end of LinkAccPropList
68 } // namespace H5
69 
70 #endif // __H5LinkAccPropList_H
#define H5_DLLCPP
Definition: H5api_adpt.h:262
#define H5std_string
Definition: H5Exception.h:25
int hid_t
Definition: H5Ipublic.h:54
Class PropList provides operations for generic property lists.
Definition: H5PropList.h:26

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:52