Line | Count | Source |
1 | | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
2 | | * Copyright by The HDF Group. * |
3 | | * All rights reserved. * |
4 | | * * |
5 | | * This file is part of HDF5. The full HDF5 copyright notice, including * |
6 | | * terms governing use, modification, and redistribution, is contained in * |
7 | | * the COPYING file, which can be found at the root of the source code * |
8 | | * distribution tree, or in https://www.hdfgroup.org/licenses. * |
9 | | * If you do not have access to either file, you may request a copy from * |
10 | | * help@hdfgroup.org. * |
11 | | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ |
12 | | |
13 | | /*------------------------------------------------------------------------- |
14 | | * |
15 | | * Created: H5Pmcpl.c |
16 | | * |
17 | | * Purpose: Map creation property list class routines |
18 | | * |
19 | | *------------------------------------------------------------------------- |
20 | | */ |
21 | | |
22 | | /****************/ |
23 | | /* Module Setup */ |
24 | | /****************/ |
25 | | |
26 | | #include "H5Pmodule.h" /* This source code file is part of the H5P module */ |
27 | | |
28 | | /***********/ |
29 | | /* Headers */ |
30 | | /***********/ |
31 | | #include "H5private.h" /* Generic Functions */ |
32 | | #include "H5Mprivate.h" /* Maps */ |
33 | | #include "H5Eprivate.h" /* Error handling */ |
34 | | #include "H5Ppkg.h" /* Property lists */ |
35 | | |
36 | | /****************/ |
37 | | /* Local Macros */ |
38 | | /****************/ |
39 | | |
40 | | /******************/ |
41 | | /* Local Typedefs */ |
42 | | /******************/ |
43 | | |
44 | | /********************/ |
45 | | /* Package Typedefs */ |
46 | | /********************/ |
47 | | |
48 | | /********************/ |
49 | | /* Local Prototypes */ |
50 | | /********************/ |
51 | | |
52 | | /* Property class callbacks */ |
53 | | static herr_t H5P__mcrt_reg_prop(H5P_genclass_t *pclass); |
54 | | |
55 | | /*********************/ |
56 | | /* Package Variables */ |
57 | | /*********************/ |
58 | | |
59 | | /* Map create property list class library initialization object */ |
60 | | const H5P_libclass_t H5P_CLS_MCRT[1] = {{ |
61 | | "map create", /* Class name for debugging */ |
62 | | H5P_TYPE_MAP_CREATE, /* Class type */ |
63 | | |
64 | | &H5P_CLS_OBJECT_CREATE_g, /* Parent class */ |
65 | | &H5P_CLS_MAP_CREATE_g, /* Pointer to class */ |
66 | | &H5P_CLS_MAP_CREATE_ID_g, /* Pointer to class ID */ |
67 | | &H5P_LST_MAP_CREATE_ID_g, /* Pointer to default property list ID */ |
68 | | H5P__mcrt_reg_prop, /* Default property registration routine */ |
69 | | |
70 | | NULL, /* Class creation callback */ |
71 | | NULL, /* Class creation callback info */ |
72 | | NULL, /* Class copy callback */ |
73 | | NULL, /* Class copy callback info */ |
74 | | NULL, /* Class close callback */ |
75 | | NULL /* Class close callback info */ |
76 | | }}; |
77 | | |
78 | | /*****************************/ |
79 | | /* Library Private Variables */ |
80 | | /*****************************/ |
81 | | |
82 | | /***************************/ |
83 | | /* Local Private Variables */ |
84 | | /***************************/ |
85 | | |
86 | | /*------------------------------------------------------------------------- |
87 | | * Function: H5P__mcrt_reg_prop |
88 | | * |
89 | | * Purpose: Register the map creation property list class's properties |
90 | | * |
91 | | * Return: Non-negative on success/Negative on failure |
92 | | *------------------------------------------------------------------------- |
93 | | */ |
94 | | static herr_t |
95 | | H5P__mcrt_reg_prop(H5P_genclass_t H5_ATTR_UNUSED *pclass) |
96 | 1 | { |
97 | 1 | herr_t ret_value = SUCCEED; /* Return value */ |
98 | | |
99 | 1 | FUNC_ENTER_PACKAGE_NOERR |
100 | | |
101 | 1 | FUNC_LEAVE_NOAPI(ret_value) |
102 | 1 | } /* end H5P__mcrt_reg_prop() */ |